-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (34 loc) · 1.16 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
36
37
38
39
40
import pathlib
from importlib import machinery
import setuptools
ROOT = pathlib.Path(__file__).parent
VERSION = str(
machinery.SourceFileLoader('version', 'src/version.py').load_module().VERSION
)
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries',
]
setuptools.setup(
name="corva-unit-converter",
author="Yuliya Klimushina",
author_email="yuliya.klimushina@corva.ai",
url="https://github.com/corva-ai/corva-convert-units-py",
version=VERSION,
classifiers=CLASSIFIERS,
description="Unit converter for O&G(and other) units",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
keywords="corva, unit converter",
py_modules=[file.stem for file in pathlib.Path("src").glob("*.py")],
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
install_requires=[],
python_requires=">=3.8, <4.0",
license="MIT",
)