forked from geekcampchina/SamplePythonProcessManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (40 loc) · 1.41 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
41
42
43
44
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
setup
~~~~
sppm 是一个进程管理的库。
:copyright: (c) 2018 by Chengdu Geek Camp.
:license: MIT, see LICENSE for more details.
"""
from os.path import join, dirname
from setuptools import setup
with open(join(dirname(__file__), 'sppm/version.txt'), 'r', encoding='utf-8') as f:
__version__ = f.read().strip()
with open(join(dirname(__file__), 'requirements.txt'), 'r', encoding='utf-8') as f:
pkgs = f.read()
install_requires = pkgs.split("\n")
setup(
name='sppm',
version=__version__,
url='https://github.com/geekcampchina/SamplePythonProcessManager',
license='GPL',
author='Chengdu Geek Camp',
author_email='[email protected]',
description="一个简化进程管理的 Python 库,丰富的命令行控制参数满足各种运行需求",
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type="text/markdown",
packages=['sppm'],
zip_safe=False,
include_package_data=True,
platforms='Linux',
install_requires=install_requires,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)