-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·39 lines (35 loc) · 1.19 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·39 lines (35 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
#!/usr/bin/env python3
import os
from setuptools import setup, find_namespace_packages
from groundhog.__version__ import __version__, __description__, __url__, __download_url__
# load the README file and use it as the long_description for PyPI
def readme():
with open('README.md', 'r') as f:
return f.read()
def required_packages():
with open('requirements.txt') as f:
required_packages = f.read().splitlines()
return required_packages
# package configuration - for reference see:
# https://setuptools.readthedocs.io/en/latest/setuptools.html#id9
setup(
name='groundhog',
version=__version__,
description=__description__,
long_description=readme(),
url=__url__,
download_url=__download_url__,
keywords=['engineering', 'geotechnical'],
author='Bruno Stuyts',
author_email='bruno@pro-found.be',
license='GNU GPLv3',
packages=find_namespace_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
install_requires=required_packages(),
)