This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
setup.py
49 lines (42 loc) · 1.4 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
#!/usr/bin/env python
# pylint: disable=C0114
from setuptools import setup, find_packages
import pyshorteners
with open("README.md") as r:
README = r.read()
TESTS_REQUIRE = [
"flake8==3.7.7",
"responses==0.10.6",
"pytest==4.4.1",
"pytest-cov==2.7.1",
"codecov==2.0.15",
"pytest-flake8",
]
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
SHORT_DESC = "A Python lib to wrap and consume the most used shorteners APIs"
setup(
name="pyshorteners",
version=pyshorteners.__version__,
license=pyshorteners.__license__,
description=SHORT_DESC,
long_description=README,
long_description_content_type="text/markdown",
author=pyshorteners.__author__,
author_email=pyshorteners.__email__,
python_requires=">=3.6",
url="https://github.com/ellisonleao/pyshorteners/",
classifiers=CLASSIFIERS,
install_requires=["requests"],
setup_requires=["pytest-runner"],
tests_require=TESTS_REQUIRE,
packages=find_packages(exclude=["*tests*"]),
extras_require={"dev": ["pre-commit"], "docs": ["sphinx"]},
)