46 lines
863 B
Python
46 lines
863 B
Python
#!/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="1.0.2",
|
|
description="",
|
|
license="BSD",
|
|
author="Colas Geier",
|
|
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(),
|
|
) |