-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
31 lines (26 loc) · 984 Bytes
/
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
import pathlib
from setuptools import setup
def get_version():
with open('pysand/version.py') as version_file:
namespace = {}
exec(version_file.read(), namespace)
return namespace['__version__']
VERSION = get_version()
# Read the README.md file
home_dir = pathlib.Path(__file__).parent
README = (home_dir / "README.md").read_text()
if __name__ == "__main__":
setup(
name='pysand',
version=VERSION,
description='Sand management related calculations',
long_description=README,
long_description_content_type="text/markdown",
author='Equinor ASA',
author_email='[email protected]',
license='GNU GPL',
url='https://github.com/equinor/pysand',
classifiers=["Programming Language :: Python :: 3"],
packages=['pysand'],
install_requires=['pandas', 'numpy>=1.17', 'scipy']
)