-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (61 loc) · 2.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='lockable',
use_scm_version=True,
setup_requires=["setuptools_scm"],
description='lockable resource module',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jupe/py-lockable',
author='Jussi Vatjus-Anttila',
author_email='[email protected]',
# Classifiers help users find your project by categorizing it.
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.7',
"Programming Language :: Python :: 3 :: Only",
],
packages=find_packages(exclude=['tests']),
keywords="py.test pytest lockable resource",
python_requires='>=3.8, <4',
entry_points={
'console_scripts': [
'lockable = lockable.cli:main'
]
},
install_requires=[
'pid',
'pydash',
'requests',
'httptest'
],
extras_require={
'dev': ['pynose', 'coveralls', 'pylint', 'coverage', 'mock'],
'optional': ['pytest-metadata']
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/jupe/pytest-lockable',
'Source': 'https://github.com/jupe/pytest-lockable/',
}
)