-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (62 loc) · 2.24 KB
/
Copy pathsetup.py
File metadata and controls
71 lines (62 loc) · 2.24 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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, 'docs/readme.rst'), encoding='utf-8') as f:
# long_description = f.read()
def version():
from setuptools_scm.version import get_local_dirty_tag
def clean_scheme(version):
# Disable local scheme by default since it is not supported
# by PyPI (See PEP 440). If code is not committed add +dirty
# to version to prevent upload to either PyPI or test PyPI.
return get_local_dirty_tag(version) if version.dirty else ''
return {'local_scheme': clean_scheme}
setup(
name='vcr_cleaner',
use_scm_version=version,
setup_requires=['setuptools_scm'],
description='Sensitive data cleaners for network cassettes captured'
' by the VCR.py testing library.',
# long_description=long_description,
# long_description_content_type='text/x-rst',
url='https://github.com/techservicesillinois/vcrpy-cleaner',
author='Cybersecurity at the University of Illinois',
author_email='securitysupport@illinois.edu',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
],
keywords='vcrpy cleaner sensitive data',
packages=find_packages('src', exclude=['tests.*', 'tests']),
package_dir={'': 'src'},
package_data={
"vcr_cleaner": ['py.typed'],
},
python_requires='>=3.11',
# TODO: Unpin urllib3 after https://github.com/kevin1024/vcrpy/issues/688
install_requires=[
'urllib3',
'vcrpy',
'pyjwt',
],
extras_require={
'test': [
'autopep8',
'flake8',
'mypy',
'pytest',
'requests',
],
},
project_urls={
'Bug Reports':
'https://github.com/techservicesillinois/vcrpy-cleaner/issues',
'Source': 'https://github.com/techservicesillinois/vcrpy-cleaner',
}
)