-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·43 lines (38 loc) · 1.64 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
#!/usr/bin/env python
"""
setup.py script for wmatz
"""
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
from os import chdir
from os.path import abspath, dirname, join
def readme(filepath):
"""
Returns contents of a readme file.
"""
with open(filepath, 'r') as rm:
return rm.read()
setup_options = dict(name='wmatz',
version='0.0.1',
description='Weighted center of minimum aggregate travel example',
license='Other/Proprietary License',
long_description=readme(join(dirname(__file__),
'README.rst')),
author='Allan Adair',
author_email='[email protected]',
url='https://github.com/allanadair/wmatz',
packages=find_packages('.'),
package_dir={'wmatz': 'wmatz'},
zip_safe=False,
classifiers=('Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: Other/Proprietary License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'))
if __name__ == '__main__':
chdir(dirname(abspath(__file__)))
setup(**setup_options)