forked from SINTEF/dmt-gen-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 1.12 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
""" Python generator utilities """
import shutil
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).parent.resolve()
# Remove build and dist folders
shutil.rmtree(Path("build"), ignore_errors=True)
shutil.rmtree(Path("dist"), ignore_errors=True)
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
with open('requirements.txt',encoding='utf8') as f:
required = f.read().splitlines()
setup(
name='dmtpygen',
version='0.3.3',
author="SINTEF Ocean",
description="Python generator for SIMOS based DMT models",
long_description=long_description,
long_description_content_type="text/markdown",
package_dir={"": "src"},
packages= find_packages(where="src"),
package_data={'dmtpygen': ['templates/*','templates/src/*','templates/tests/*']},
install_requires=required,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.8',
)