add setup.py
This commit is contained in:
parent
b7c7df5b28
commit
f1b3dfc676
46
setup.py
Normal file
46
setup.py
Normal file
@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env/python
|
||||
"""Installation script
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
import versioneer
|
||||
|
||||
LONG_DESCRIPTION='''
|
||||
|
||||
'''
|
||||
|
||||
if os.environ.get("READTHEDOCS", False) == "True":
|
||||
INSTALL_REQUIRES = []
|
||||
else:
|
||||
INSTALL_REQUIRES = [
|
||||
"pandas >= 0.25.0",
|
||||
"shapely >= 1.6",
|
||||
"fiona >= 1.8",
|
||||
"pyproj >= 2.2.0",
|
||||
"geopandas >= 0.8",
|
||||
]
|
||||
data_files = []
|
||||
|
||||
setup(
|
||||
name="pycen",
|
||||
version=versioneer.get_version(),
|
||||
description="",
|
||||
license="BSD",
|
||||
author="",
|
||||
author_email="colas.geier@cen-isere.org",
|
||||
url="",
|
||||
long_description=LONG_DESCRIPTION,
|
||||
packages=[
|
||||
"pycen",
|
||||
],
|
||||
package_data={"pycen": data_files},
|
||||
python_requires=">=3.7",
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
cmdclass=versioneer.get_cmdclass(),
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user