mirror of https://gitlab.com/pamhyr/pamhyr2
31 lines
689 B
Python
Executable File
31 lines
689 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
def read_requirements():
|
|
req = []
|
|
|
|
with open("requirements.txt", "r") as f:
|
|
for line in f:
|
|
if line[0] == "#":
|
|
continue
|
|
|
|
req.append(line)
|
|
|
|
return req
|
|
|
|
setup(
|
|
name="Pamhyr2",
|
|
version="0.0.8",
|
|
description='River 1D modelling interface',
|
|
maintainer='INRAE',
|
|
maintainer_email='pierre-antoine.rouby@inrae.fr',
|
|
url='https://gitlab.irstea.fr/theophile.terraz/pamhyr',
|
|
packages=find_packages("."),
|
|
package_dir={"Pamhyr2": "Pamhyr2"},
|
|
scripts=[os.path.join("src", "pamhyr.py")],
|
|
install_requires=read_requirements(),
|
|
)
|