-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
executable file
·45 lines (40 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python
# coding: utf-8
import codecs
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
with codecs.open('README.rst') as file:
long_description = file.read()
if not isinstance(long_description, str):
long_description = str(long_description, 'utf-8')
setup(
name='BASC-Archiver',
version='0.9.9',
description='Makes a complete archive of imageboard threads including images, HTML, and JSON.',
long_description=long_description,
author='Antonizoon Overtwater <[email protected]>, Daniel Oaks <[email protected]>',
author_email='[email protected]',
url='https://github.com/bibanon/BASC-Archiver',
scripts=['thread-archiver', '4chan-thread-archiver', 'archive-nabber'],
packages=['basc_archiver', 'basc_archiver.sites'],
package_dir={
'basc_archiver': 'basc_archiver',
'basc_archiver.sites': 'basc_archiver/sites',
},
install_requires=['requests', 'docopt>=0.5.0', 'BASC-py4chan>=0.5.5'],
keywords='4chan downloader images json dump',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)