-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·46 lines (41 loc) · 1.37 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
#!/usr/bin/env python
# coding=utf-8
"""The cruiser installer."""
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
from setuptools.command.develop import develop
HAVE_SETUPTOOLS = True
except ImportError:
from distutils.core import setup
HAVE_SETUPTOOLS = False
from cruiser import __version__ as CRUISER_VERSION
def main():
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), 'r') as f:
readme = f.read()
skw = dict(
name='cruiser',
description='A simple UI for Cyclus',
long_description=readme,
license='BSD',
version=CRUISER_VERSION,
author='Anthony Scopatz',
maintainer='Anthony Scopatz',
author_email='scopatz@gmail.com',
url='https://github.com/ergs/cruiser',
platforms='Cross Platform',
classifiers=['Programming Language :: Python :: 3'],
packages=['cruiser', 'cruiser.scenarios'],
package_dir={'cruiser': 'cruiser', 'cruiser.scenarios': 'cruiser/scenarios'},
#package_data={'cruiser': ['templates/*', 'static/*.*', 'static/img/*.*']},
#scripts=['scripts/cruiser'],
#zip_safe=False,
)
if HAVE_SETUPTOOLS:
skw['setup_requires'] = []
#skw['install_requires'] = ['Jinja2', 'pymongo']
setup(**skw)
if __name__ == '__main__':
main()