-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
56 lines (50 loc) · 1.72 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
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
from setuptools import setup, find_packages
# pylint: disable=redefined-builtin
here = os.path.abspath(os.path.dirname(__file__)) # pylint: disable=invalid-name
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read() # pylint: disable=invalid-name
setup(
name='temppathlib',
version='1.2.0', # don't forget to update the changelog!
description='Wrap tempfile to give you pathlib.Path.',
long_description=long_description,
url='https://github.com/Parquery/temppathlib',
author='Marko Ristin',
author_email='[email protected]',
classifiers=[
# yapf: disable
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
# yapf: enable
],
keywords='tempfile pathlib temporary file directory mkdtemp mkstemp',
packages=find_packages(exclude=['tests']),
install_requires=None,
extras_require={
'dev': [
# yapf: disable
'mypy==0.941',
'pylint==2.12.2',
'yapf==0.20.2',
'tox>=3,<4',
'coverage>=5,<6',
'pydocstyle>=5,<6',
'twine'
# yapf: enable
],
},
py_modules=['temppathlib'],
package_data={"temppathlib": ["py.typed"]},
)