This repository has been archived by the owner on Jan 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (47 loc) · 1.57 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
46
47
48
49
50
import sys
import app
import pkutils
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
sys.dont_write_bytecode = True
requirements = list(pkutils.parse_requirements('requirements.txt'))
dependencies = list(pkutils.parse_requirements('requirements.txt', dep=True))
dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt'))
readme = pkutils.read('README.md')
license = app.__license__
name = app.__title__
gh = 'https://github.com/reubano'
setup(
name=name,
version=app.__version__,
description=app.__description__,
long_description=readme,
author=app.__author__,
author_email=app.__email__,
url='%s/%s' % (gh, name),
download_url='%s/%s/downloads/%s*.tgz' % (gh, name, name),
include_package_data=True,
install_requires=requirements,
dependency_links=dependencies,
tests_require=dev_requirements,
classifiers=[
pkutils.LICENSES[license],
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: Microsoft :: POSIX'
],
keywords=[name, 'scraperwiki', 'api'],
packages=find_packages(exclude=['tests']),
package_data={},
zip_safe=False,
license=license,
platforms=['MacOS X', 'Windows', 'Linux'],
)