-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (37 loc) · 1.45 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
#import setuptools
import runpy
from setuptools import setup, find_packages
version_meta = runpy.run_path("./version.py")
VERSION = version_meta["__version__"]
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_requirements(filename):
"""Load requirements from a pip requirements file."""
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setup(
name="wqxweblib",
version=VERSION,
author="Jon Musselwhite",
author_email="[email protected]",
description="A package for interacting with the EPA's WQX Web service",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/FlippingBinary/wqxweblib-python",
packages=find_packages(),
install_requires=parse_requirements("requirements.txt"),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires='>=3.7',
)