forked from dfm/corner.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 972 Bytes
/
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
#!/usr/bin/env python
import re
import os
import sys
from setuptools import setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
# Hackishly synchronize the version.
version = re.findall(r"__version__ = \"(.*?)\"", open("corner.py").read())[0]
setup(
name="corner",
version=version,
author="Daniel Foreman-Mackey",
author_email="[email protected]",
url="https://github.com/dfm/corner.py",
py_modules=["corner"],
description="Make some beautiful corner plots of samples.",
long_description=open("README.rst").read(),
package_data={"": ["LICENSE"]},
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
)