-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (31 loc) · 1.05 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
import setuptools,os
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
requirements = f.readlines()
with open("_version.py",encoding='utf-8') as f:
version = f.read().strip().split(" = ")[1][1:-1]
setuptools.setup(
name="pmeter_ods",
version=version,
author="OneDataShare",
author_email="[email protected]",
description="A CLI tool that helps capture metrics from the Operating System",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/didclab/pmeter",
project_urls={},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(exclude=['tests']),
entry_points ={
'console_scripts': [
'pmeter = pmeter.pmeter_cli:main'
]
},
install_requires = [requirements],
python_requires=">=3.7",
)