forked from mgieles/limepy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·53 lines (47 loc) · 1.55 KB
/
setup.py
File metadata and controls
executable file
·53 lines (47 loc) · 1.55 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
from os import path
import io
readme = io.open('README.rst').read()
history = io.open('HISTORY.rst').read().replace('.. :changelog:', '')
this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
requirements = ['numpy', 'scipy>=0.14.0']
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='astro-limepy',
version='0.1.1',
description='Code to solve lowered isothermal model',
long_description=long_description + "\n\n" + history,
long_description_content_type='text/x-rst',
author='Mark Gieles, Alice Zocchi',
author_email='m.gieles@surrey.ac.uk, a.zocchi@surrey.ac.uk',
url='https://github.com/mgieles/limepy',
packages=[
'limepy'
],
package_dir={'limepy': 'limepy','sample' : 'sample'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='limepy',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
test_suite='tests',
tests_require=test_requirements
)