-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
executable file
·42 lines (37 loc) · 1.14 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
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
HAVE_SETUPTOOLS = True
except ImportError:
from distutils.core import setup
HAVE_SETUPTOOLS = False
VERSION = '1.5.3'
setup_kwargs = {
"version": VERSION,
"description": 'Rickshaw is an automated driver for Cyclus',
"license": 'BSD 3-clause',
"author": 'The ERGS developers',
"author_email": 'ergsonomic@googlegroups.com',
"url": 'https://github.com/ergs/rickshaw',
"download_url": "https://github.com/ergs/rickshaw/zipball/" + VERSION,
"classifiers": [
"License :: OSI Approved",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Utilities",
],
"zip_safe": False,
"data_files": [("", ['LICENSE', 'README.rst']),],
"scripts": ["scripts/rickshaw", "scripts/rickserv"]
}
if HAVE_SETUPTOOLS:
setup_kwargs['install_requires'] = ['python-json-logger', 'pprintpp', 'jinja2']
if __name__ == '__main__':
setup(
name='rickshaw',
packages=['rickshaw'],
long_description=open('README.rst').read(),
**setup_kwargs
)