-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
66 lines (54 loc) · 2.11 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
62
63
64
65
66
#! /usr/bin/env python
"""
setup.py for uravu
@author: Andrew R. McCluskey ([email protected])
"""
# System imports
import io
from os import path
from setuptools import setup, find_packages
from uravu import __version__
PACKAGES = find_packages()
# versioning
ISRELEASED = True
VERSION = __version__
THIS_DIRECTORY = path.abspath(path.dirname(__file__))
with io.open(path.join(THIS_DIRECTORY, 'README.md')) as f:
LONG_DESCRIPTION = f.read()
INFO = {
'name': 'uravu',
'description': 'Bayesian methods for analytical relationships',
'author': 'Andrew R. McCluskey',
'author_email': '[email protected]',
'packages': PACKAGES,
'include_package_data': True,
'setup_requires': ['numpy', 'scipy>=1.5.4', 'emcee', 'tqdm',
'uncertainties', 'dynesty'],
'install_requires': ['numpy', 'scipy>=1.5.4', 'emcee', 'tqdm',
'uncertainties', 'dynesty'],
'version': VERSION,
'license': 'MIT',
'long_description': LONG_DESCRIPTION,
'long_description_content_type': 'text/markdown',
'classifiers': ['Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics']
}
####################################################################
# this is where setup starts
####################################################################
def setup_package():
"""
Runs package setup
"""
setup(**INFO)
if __name__ == '__main__':
setup_package()