-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·41 lines (30 loc) · 1.26 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
#!/usr/bin/python2
import os
from application import __info__ as package_info
from distutils.core import Distribution, setup
Distribution.install_requires = None # make distutils ignore this option that is used by setuptools when invoked from pip install
def find_packages(root):
return [directory.replace(os.path.sep, '.') for directory, sub_dirs, files in os.walk(root) if '__init__.py' in files]
setup(
name=package_info.__project__,
version=package_info.__version__,
description=package_info.__summary__,
long_description=open('README').read(),
license=package_info.__license__,
url=package_info.__webpage__,
author=package_info.__author__,
author_email=package_info.__email__,
platforms=["Platform Independent"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
],
packages=find_packages('application'),
provides=['application'],
requires=['zope.interface'],
install_requires=['zope.interface']
)