-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
53 lines (48 loc) · 1.54 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
45
46
47
48
49
50
51
52
53
import os
import importlib.util
from setuptools import setup, find_packages
version_file = os.path.join('pidfile', 'version.py')
spec = importlib.util.spec_from_file_location("version", version_file)
version = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version)
setup(
name='python-pidfile',
version=version.__version__,
author=version.__author__,
author_email=", ".join(
filter(None, map(lambda x: x[1], version.author_info))
),
url="https://github.com/mosquito/python-pidfile",
license="MIT",
description="PIDFile context manager.",
long_description=open('README.rst').read(),
platforms="unix",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: MIT License',
],
packages=find_packages(exclude=('tests',)),
install_requires=[
'psutil'
],
extras_require={
'develop': [
'coverage!=4.3',
'coveralls',
'pylama',
'pytest',
'pytest-cov',
'mock',
],
}
)