2019-03-27 19:39:30 +00:00
|
|
|
import os
|
2019-03-27 15:40:00 +00:00
|
|
|
import setuptools
|
|
|
|
|
2019-05-02 19:39:55 +00:00
|
|
|
BASE_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
PYTHON_DIR = os.path.join(BASE_DIR, 'archivebox')
|
2019-03-27 15:40:00 +00:00
|
|
|
|
2019-05-02 19:39:55 +00:00
|
|
|
with open('README.md', "r") as f:
|
|
|
|
README = f.read()
|
2019-03-27 19:39:30 +00:00
|
|
|
|
2019-05-02 19:39:55 +00:00
|
|
|
with open(os.path.join(PYTHON_DIR, 'VERSION'), 'r') as f:
|
|
|
|
VERSION = f.read().strip()
|
2019-03-27 19:39:30 +00:00
|
|
|
|
|
|
|
|
2019-03-27 15:40:00 +00:00
|
|
|
setuptools.setup(
|
|
|
|
name="archivebox",
|
2019-05-02 19:30:42 +00:00
|
|
|
version=VERSION,
|
2019-03-27 15:40:00 +00:00
|
|
|
author="Nick Sweeting",
|
|
|
|
author_email="git@nicksweeting.com",
|
|
|
|
description="The self-hosted internet archive.",
|
2019-05-02 19:39:55 +00:00
|
|
|
long_description=README,
|
2019-03-27 15:40:00 +00:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/pirate/ArchiveBox",
|
2019-05-02 19:39:55 +00:00
|
|
|
license='MIT',
|
2019-03-27 19:39:30 +00:00
|
|
|
project_urls={
|
|
|
|
'Documentation': 'https://github.com/pirate/ArchiveBox/Wiki',
|
|
|
|
'Community': 'https://github.com/pirate/ArchiveBox/wiki/Web-Archiving-Community',
|
|
|
|
'Source': 'https://github.com/pirate/ArchiveBox',
|
|
|
|
'Bug Tracker': 'https://github.com/pirate/ArchiveBox/issues',
|
|
|
|
'Roadmap': 'https://github.com/pirate/ArchiveBox/wiki/Roadmap',
|
|
|
|
'Changelog': 'https://github.com/pirate/ArchiveBox/wiki/Changelog',
|
2019-04-19 01:09:54 +00:00
|
|
|
'Patreon': 'https://github.com/pirate/ArchiveBox/wiki/Donations',
|
2019-03-27 19:39:30 +00:00
|
|
|
},
|
2019-05-02 19:39:55 +00:00
|
|
|
packages=['archivebox',],
|
2019-03-27 19:39:30 +00:00
|
|
|
python_requires='>=3.6',
|
|
|
|
install_requires=[
|
2019-04-17 07:49:18 +00:00
|
|
|
"dataclasses==0.6",
|
2019-04-24 15:36:14 +00:00
|
|
|
"mypy-extensions==0.4.1",
|
2019-03-27 19:39:30 +00:00
|
|
|
"base32-crockford==0.3.0",
|
2019-04-02 22:53:21 +00:00
|
|
|
"django==2.2",
|
2019-04-17 07:49:18 +00:00
|
|
|
"django-extensions==2.1.6",
|
2019-04-24 15:36:14 +00:00
|
|
|
"python-crontab==2.3.6",
|
2019-04-19 01:09:54 +00:00
|
|
|
"youtube-dl",
|
2019-04-22 23:06:12 +00:00
|
|
|
"ipython",
|
2019-04-19 01:09:54 +00:00
|
|
|
|
|
|
|
# Some/all of these will likely be added in the future:
|
|
|
|
# wpull
|
|
|
|
# pywb
|
|
|
|
# pyppeteer
|
|
|
|
# archivenow
|
|
|
|
# requests
|
|
|
|
|
2019-03-27 19:39:30 +00:00
|
|
|
],
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2019-04-02 22:53:21 +00:00
|
|
|
'archivebox = archivebox.__main__:main',
|
2019-03-27 19:39:30 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
package_data={
|
2019-04-26 22:32:02 +00:00
|
|
|
'archivebox': [
|
|
|
|
# Manifest.ini must correspond 1:1 with this list
|
|
|
|
'VERSION',
|
|
|
|
'themes/*',
|
|
|
|
'themes/static/*',
|
|
|
|
'themes/admin/*'
|
|
|
|
'themes/default/*'
|
|
|
|
'themes/default/static/*'
|
2019-04-27 21:57:35 +00:00
|
|
|
'themes/legacy/*',
|
|
|
|
'themes/legacy/static/*',
|
2019-04-26 22:32:02 +00:00
|
|
|
],
|
2019-03-27 19:39:30 +00:00
|
|
|
},
|
2019-03-27 15:40:00 +00:00
|
|
|
classifiers=[
|
2019-04-26 18:42:28 +00:00
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
|
|
|
|
"Topic :: Utilities",
|
|
|
|
"Topic :: System :: Archiving",
|
|
|
|
"Topic :: System :: Archiving :: Backup",
|
|
|
|
"Topic :: System :: Recovery Tools",
|
|
|
|
"Topic :: Sociology :: History",
|
|
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Education",
|
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"Intended Audience :: Legal Industry",
|
|
|
|
"Intended Audience :: System Administrators",
|
|
|
|
|
|
|
|
"Environment :: Console",
|
|
|
|
"Environment :: Web Environment",
|
2019-03-27 15:40:00 +00:00
|
|
|
"Programming Language :: Python :: 3",
|
2019-04-26 18:42:28 +00:00
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
'Framework :: Django',
|
|
|
|
"Typing :: Typed",
|
|
|
|
|
2019-03-27 15:40:00 +00:00
|
|
|
"License :: OSI Approved :: MIT License",
|
2019-04-26 18:42:28 +00:00
|
|
|
"Natural Language :: English",
|
2019-03-27 15:40:00 +00:00
|
|
|
"Operating System :: OS Independent",
|
|
|
|
],
|
|
|
|
)
|