mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 20:23:12 +00:00
add some missing fields to setup.py
This commit is contained in:
parent
7ee837c127
commit
ef77a6d43f
1 changed files with 9 additions and 6 deletions
15
setup.py
15
setup.py
|
@ -1,13 +1,15 @@
|
||||||
import os
|
import os
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
BASE_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
||||||
long_description = fh.read()
|
PYTHON_DIR = os.path.join(BASE_DIR, 'archivebox')
|
||||||
|
|
||||||
|
with open('README.md', "r") as f:
|
||||||
|
README = f.read()
|
||||||
|
|
||||||
script_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
with open(os.path.join(PYTHON_DIR, 'VERSION'), 'r') as f:
|
||||||
|
VERSION = f.read().strip()
|
||||||
|
|
||||||
VERSION = open(os.path.join(script_dir, 'archivebox', 'VERSION'), 'r').read().strip()
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="archivebox",
|
name="archivebox",
|
||||||
|
@ -15,9 +17,10 @@ setuptools.setup(
|
||||||
author="Nick Sweeting",
|
author="Nick Sweeting",
|
||||||
author_email="git@nicksweeting.com",
|
author_email="git@nicksweeting.com",
|
||||||
description="The self-hosted internet archive.",
|
description="The self-hosted internet archive.",
|
||||||
long_description=long_description,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/pirate/ArchiveBox",
|
url="https://github.com/pirate/ArchiveBox",
|
||||||
|
license='MIT',
|
||||||
project_urls={
|
project_urls={
|
||||||
'Documentation': 'https://github.com/pirate/ArchiveBox/Wiki',
|
'Documentation': 'https://github.com/pirate/ArchiveBox/Wiki',
|
||||||
'Community': 'https://github.com/pirate/ArchiveBox/wiki/Web-Archiving-Community',
|
'Community': 'https://github.com/pirate/ArchiveBox/wiki/Web-Archiving-Community',
|
||||||
|
@ -27,7 +30,7 @@ setuptools.setup(
|
||||||
'Changelog': 'https://github.com/pirate/ArchiveBox/wiki/Changelog',
|
'Changelog': 'https://github.com/pirate/ArchiveBox/wiki/Changelog',
|
||||||
'Patreon': 'https://github.com/pirate/ArchiveBox/wiki/Donations',
|
'Patreon': 'https://github.com/pirate/ArchiveBox/wiki/Donations',
|
||||||
},
|
},
|
||||||
packages=setuptools.find_packages(),
|
packages=['archivebox',],
|
||||||
python_requires='>=3.6',
|
python_requires='>=3.6',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"dataclasses==0.6",
|
"dataclasses==0.6",
|
||||||
|
|
Loading…
Reference in a new issue