forked from joshuarli/pylibgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (44 loc) · 1.38 KB
/
setup.py
File metadata and controls
48 lines (44 loc) · 1.38 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
import os
from setuptools import setup, find_packages
# https://www.python.org/dev/peps/pep-0440/#pre-releases
VERSION = "2.0.0b2"
REPO = "https://github.com/JoshuaRLi/pylibgen"
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
LONG_DESC = f.read().strip()
setup(
name="pylibgen",
version=VERSION,
description="Python interface to Library Genesis.",
long_description=LONG_DESC,
license="MIT",
url=REPO,
download_url="{}/archive/v{}.tar.gz".format(REPO, VERSION),
author="Joshua Li",
author_email="[email protected]",
maintainer="Joshua Li",
maintainer_email="[email protected]",
keywords=[
"libgen",
"library",
"genesis",
"search",
"download",
"books",
"ebooks",
"textbooks",
],
packages=find_packages(exclude=("tests",)),
install_requires=["requests>=2.19,<2.20"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)