/
setup.py
executable file
·42 lines (37 loc) · 1.13 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
import os
import sys
import emcee
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
setup(
name="emcee",
version=emcee.__version__,
author="Daniel Foreman-Mackey",
author_email="danfm@nyu.edu",
packages=["emcee"],
url="http://danfm.ca/emcee/",
license=open("LICENSE").read(),
description="Kick ass affine-invariant ensemble MCMC sampling",
long_description=open("README.rst").read() + "\n\n"
+ "Changelog\n"
+ "---------\n\n"
+ open("HISTORY.rst").read(),
package_data={"": ["LICENSE", "AUTHORS.rst"]},
include_package_data=True,
install_requires=["numpy"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
)