-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathsetup.py
46 lines (41 loc) · 1.21 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
from setuptools import setup, find_packages
import io
import os
VERSION = "1.1"
def get_long_description():
with io.open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name="csvs_to_sqlite",
description="Convert CSV files into a SQLite database",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
version=VERSION,
license="Apache License, Version 2.0",
packages=find_packages(),
install_requires=[
"click~=7.0",
"dateparser~=0.7.1",
"pandas~=0.25.0",
"py-lru-cache~=0.1.4",
"six",
],
tests_require=["pytest~=5.0.0"],
entry_points="""
[console_scripts]
csvs-to-sqlite=csvs_to_sqlite.cli:cli
""",
url="https://github.com/simonw/csvs-to-sqlite",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: End Users/Desktop",
"Topic :: Database",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
],
)