-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (45 loc) · 1.32 KB
/
setup.py
File metadata and controls
50 lines (45 loc) · 1.32 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
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python3
'''
Setup script for python build system
'''
import os
from setuptools import setup, find_packages
from lnxproc import about
REPO_URL = 'https://github.com/eccles/'
HERE = os.path.abspath(os.path.dirname(__file__))
NAME = open('name', 'rt').read().strip()
with open('README.md') as FF:
DESC = FF.read()
setup(
name=NAME,
version=about.__version__,
packages=find_packages(exclude=("unittests", )),
license=about.__license__,
description=about.__description__,
long_description=DESC,
url=REPO_URL + NAME + '/',
download_url=REPO_URL + NAME + '/dist/',
author=about.__author__,
author_email=about.__author_email__,
platforms=['linux', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: Linux',
'Programming Language :: Python',
'Topic :: System :: Systems Monitoring'
],
install_requires=[
'flask==2.3.2',
'flask-restful==0.3.8',
],
python_requires='>=3.8',
entry_points={
'console_scripts': [
'lnxproc = lnxproc:entry.main',
],
},
)