-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (48 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# encoding: utf-8
#
# setup.py
#
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from setuptools import setup, find_packages
import os
requirements_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
install_requires = [line.strip().replace('==', '>=') for line in open(requirements_file)
if not line.strip().startswith('#') and line.strip() != '']
NAME = 'albireolib'
VERSION = '0.1.0'
RELEASE = 'dev' in VERSION
def run(packages):
setup(name=NAME,
version=VERSION,
license='BSD3',
description='Description of your project.',
long_description=open('README.rst').read(),
author='José Sánchez-Gallego',
author_email='gallegoj@uw.edu',
keywords='astronomy software',
url='https://github.com/albireox/albireolib',
include_package_data=True,
packages=packages,
# install_requires=install_requires,
package_dir={'': 'python'},
scripts=[],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Documentation :: Sphinx',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
if __name__ == '__main__':
packages = find_packages(where='python')
# Runs distutils
run(packages)