-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
42 lines (37 loc) · 1.23 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
from codecs import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
try:
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
except Exception:
long_description = ''
try:
from defusedcsv import version
except ImportError:
version = '?'
setup(
name='defusedcsv',
version=version,
description='Drop-in replacement for Python\'s CSV library that tries to mitigate CSV injection attacks',
long_description=long_description,
url='https://github.com/raphaelm/defusedcsv',
author='Raphael Michel',
author_email='mail@raphaelmichel.de',
license='Apache License 2.0',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='csv injection defuse save',
install_requires=[
],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
)