-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
66 lines (58 loc) · 1.8 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import os
import sys
from setuptools import setup, find_packages
from konfera import __version__ as VERSION
def read_file(name):
return open(os.path.join(os.path.dirname(__file__), name)).read()
if sys.argv[-1] == 'publish':
try:
import wheel
print("Wheel version: ", wheel.__version__)
except ImportError:
print('Wheel library missing. Please run "pip install wheel".')
sys.exit()
os.system('python setup.py sdist upload')
os.system('python setup.py bdist_wheel upload')
sys.exit()
DEPS = [
'django>=1.10.3',
'pytz>=2016.7',
'fiobank>=1.2.0',
'paypalrestsdk>=1.12.0',
'requests>=2.11.1',
]
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Intended Audience :: Customer Service',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
]
setup(
name='django-konfera',
version=VERSION,
description='Yet another event organization app (for PyCon).',
long_description=read_file('README.rst'),
author='SPy o.z.',
author_email='info [at] pycon.sk',
url='https://github.com/pyconsk/django-konfera',
packages=find_packages(),
install_requires=DEPS,
platforms='any',
license='MIT',
zip_safe=False,
classifiers=CLASSIFIERS,
include_package_data=True
)