aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2017-05-23 11:57:16 -0400
committerGitHub <noreply@github.com>2017-05-23 11:57:16 -0400
commit6b9eeaf9321223e15c37b53effe75118aed9ef5d (patch)
tree460cd786d51fd647473429e7d46a5b207a23b162 /setup.py
parent43ce44715858ee56b3fe0652ad6645f6643dcc99 (diff)
parentb3e82911587c49863a4dab105aa139f61e53945f (diff)
downloadrambo-6b9eeaf9321223e15c37b53effe75118aed9ef5d.tar.gz
Merge pull request #3 from rendinam/package
Turning into a package
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..454329f
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,28 @@
+from setuptools import setup, find_packages
+
+version = {}
+with open("rambo/_version.py") as fp:
+ exec(fp.read(), version)
+ # later on use: version['__version__']
+
+setup(
+ name='rambo',
+ version=version['__version__'],
+ author='Matt Rendina',
+ author_email='mrendina@stsci.edu',
+ description='Recipe Analyzer and Multi-package Build Optimizer',
+ url='https://github.com/astroconda/rambo',
+ license='GPLv2',
+ classifiers=[
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Topic :: Software Development :: Build Tools',
+ ],
+ packages=find_packages(),
+ package_data={'': ['README.md', 'LICENSE.txt']},
+ entry_points = {
+ 'console_scripts': ['rambo=rambo.rambo:main'],
+ }
+)