-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (34 loc) · 1.07 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
from setuptools import find_packages, setup
with open("README.md", encoding="UTF-8") as f:
long_desc = f.read()
setup(
name='shortenurl',
description='Shorten URLs with Python',
long_description="""
# shortenurl library
Made by s4300
[Github](https://github.com/s4300/shortenurl-python)
[PyPI](https://pypi.org/project/shortenurl/)
# Setup
Command: pip install shortenurl
# Example code
tinyurl.create("apiToken", "urlToShorten", "alias", "domain")
tinyurl.change("apiToken", "alias", "domain", "newAlias", and "newUrl")
tinyurl.update("apiToken", "alias", "domain", "newAlias", "newDomain")
# Supported URL shorteners
[TinyURL](https://tinyurl.com/)
""",
long_description_content_type="text/markdown",
version='1.1.0',
url='https://github.com/s4300/shortenurl-python',
author='s4300',
author_email='',
license='NONE',
keywords='shorten urls',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests',
],
python_requires='>=3.6',
)