-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (60 loc) · 2.11 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
67
68
69
70
71
72
73
#!/usr/bin/env python
# coding=utf-8
from __future__ import (division, absolute_import,
print_function, unicode_literals)
from index import __pkgname__, __description__, __version__
import sys
import os
from setuptools import setup, find_packages
py_version = sys.version_info[:2]
PY3 = py_version[0] == 3
if PY3:
if py_version < (3, 3):
raise RuntimeError('On Python 3, Index requires Python 3.3 or better')
else:
if py_version < (2, 6):
raise RuntimeError('On Python 2, Index requires Python 2.6 or better')
here = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
README = CHANGES = ''
if __name__ == '__main__':
setup(
name=__pkgname__,
description=__description__,
version=__version__,
long_description=README,
author='Stan',
author_email='lishnih@gmail.com',
url='https://github.com/lishnih/index',
platforms=['any'],
keywords=['PySide', 'indexing', 'reporting', 'documents'],
packages=find_packages(),
# include_package_data=True,
# zip_safe=False,
# package_data={__pkgname__: []},
scripts=[
],
install_requires=[
'PySide',
'sqlalchemy',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: Manufacturing',
'License :: OSI Approved :: MIT License',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Natural Language :: Russian',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 3.3',
'Topic :: Database',
'Topic :: Utilities',
],
)