-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.19 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (40 loc) · 1.19 KB
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
import setuptools
import os
cachedir = os.path.expanduser('~/.pycno')
try:
os.makedirs(cachedir, exist_ok=True)
except Exception:
# could not install user cache
pass
with open("README.md", "r") as fh:
long_description = fh.read()
with open("pycno/__init__.py", "r") as fh:
for _l in fh:
if _l.startswith('__version__'):
exec(_l)
break
else:
__version__ = 'x.y.z'
setuptools.setup(
name="pycno",
version=__version__,
author="Barron H. Henderson",
author_email="barronh@gmail.com",
description="Python map overlay software to read CNO and CNOB files.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/barronh/pycno",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=["numpy", "matplotlib"],
include_package_data=True,
extras_require={
"proj": ["pyproj"],
}
)