-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 1010 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
32
33
34
35
36
37
#!usr/bin/env python
from setuptools import setup
import re
# https://packaging.python.org/discussions/install-requires-vs-requirements/
install_requires = [
'numpy>=1.21', 'pandas>=1.4', 'scipy>=1.9', 'scikit-learn>=1.1.2', 'geopandas>=0.11'
]
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
version = re.search(
'^__version__\\s*=\\s*"(.*)"',
open('grain_size_distribution/__version__.py').read(),
re.M
).group(1)
setup(name='grain_size_distributions',
version=version,
author='Jordan Gilbert',
license='MIT',
python_requires='>=3.8',
long_description=long_descr,
author_email='jtgilbert89@gmail.com',
install_requires=install_requires,
zip_safe=False,
entry_points={
"console_scripts": [
'grain_size = grain_size_distribution.grain_size:main'
]
},
url='https://github.com/jtgilbert/grain-size',
packages=[
'grain_size_distribution'
])