-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (50 loc) · 1.61 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
import os
from setuptools import setup
VERSION = "0.5"
def get_long_description():
with open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name="goodreads-to-sqlite",
description="Save data from Goodreads to a SQLite database",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Tobias Kunze",
author_email="r@rixx.de",
url="https://github.com/rixx/goodreads-to-sqlite",
project_urls={
"Source": "https://github.com/rixx/goodreads-to-sqlite",
"Issues": "https://github.com/rixx/goodreads-to-sqlite/issues",
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Database",
],
keywords="goodreads books sqlite export dogsheep",
license="Apache License, Version 2.0",
version=VERSION,
packages=["goodreads_to_sqlite"],
entry_points="""
[console_scripts]
goodreads-to-sqlite=goodreads_to_sqlite.cli:cli
""",
install_requires=[
"beautifulsoup4~=4.8",
"click",
"python-dateutil",
"requests",
"sqlite-utils~=2.4.4",
"tqdm~=4.36",
],
extras_require={"test": ["pytest"]},
tests_require=["goodreads-to-sqlite[test]"],
)