-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (26 loc) · 877 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
#!/usr/bin/env python
import os
import sys
from codecs import open
from setuptools import setup, find_packages
if sys.argv[-1] == "publish":
os.system("python setup.py register")
os.system("python setup.py sdist upload")
os.system("python setup.py bdist_wheel upload --universal")
sys.exit()
requires = ["matplotlib", "numpy", "scipy", "seaborn"]
from enviropy import __version__, __name__, __author__
def read(f):
return open(f, encoding="utf-8").read()
setup(
name=__name__,
version=__version__,
description="Statistical methods and plotting tools for environmental data",
long_description=read("README.rst"),
author=__author__,
author_email="jentjr@gmail.com",
download_url="https://github.com/jentjr/enviropy/",
license="MIT",
install_requires=requires,
packages=find_packages(exclude=["docs", "test"]),
)