-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
39 lines (34 loc) · 1.27 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
#! /usr/bin/env python3
from setuptools import setup, find_packages
def pip(filename):
"""Parse pip reqs file and transform it to setuptools requirements."""
return open(filename).readlines()
setup(
name="csv_detective",
version=__import__("csv_detective").__version__,
author="Etalab",
author_email="opendatateam@data.gouv.fr",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Information Analysis",
],
description="Detect CSV column content",
long_description_content_type="text/markdown",
keywords="CSV data processing encoding guess parser tabular",
license="http://www.fsf.org/licensing/licenses/agpl-3.0.html",
url="https://github.com/etalab/csv_detective",
data_files=[
("share/csv_detective", ["CHANGELOG.md", "LICENSE.AGPL.txt", "README.md"]),
],
entry_points={
"console_scripts": [
"csv_detective=csv_detective.cli:run",
],
},
include_package_data=True, # Will read MANIFEST.in
install_requires=pip('requirements.txt'),
packages=find_packages(),
)