-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (41 loc) · 1.53 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
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'comoda', 'APPNAME')) as f:
__appname__ = f.read().strip()
with open(os.path.join(here, 'comoda', 'VERSION')) as f:
__version__ = f.read().strip()
with open(os.path.join(here, 'requirements.txt')) as f:
required = f.read().splitlines()
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
extra_files = [os.path.join(here, 'requirements.txt'),
os.path.join(here, 'comoda', 'VERSION'),
os.path.join(here, 'comoda', 'APPNAME')
]
setup(
name=__appname__,
version=__version__,
description='useful functions and classes',
long_description=long_description,
author='Gianmauro Cuccuru',
author_email='[email protected]',
zip_safe=True,
url='http://github.com/gmauro/comoda',
license='MIT',
packages=find_packages(exclude=('tests',)),
package_data={'': extra_files},
keywords='utilities',
install_requires=required,
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)