Add Python-related files
This commit is contained in:
parent
ab3f786357
commit
66061d5823
|
@ -0,0 +1,12 @@
|
||||||
|
[[source]]
|
||||||
|
url = "https://pypi.org/simple"
|
||||||
|
verify_ssl = true
|
||||||
|
name = "pypi"
|
||||||
|
|
||||||
|
[packages]
|
||||||
|
requests = "*"
|
||||||
|
|
||||||
|
[dev-packages]
|
||||||
|
|
||||||
|
[requires]
|
||||||
|
python_version = "3.9"
|
|
@ -0,0 +1,6 @@
|
||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
"setuptools>=42",
|
||||||
|
"wheel"
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
|
@ -0,0 +1,26 @@
|
||||||
|
[metadata]
|
||||||
|
name = manga-up
|
||||||
|
version = 0.0.1
|
||||||
|
author = Lukáš Kucharczyk
|
||||||
|
author_email = lukas@kucharczyk.xyz
|
||||||
|
description = A simple manga update checker and downloader
|
||||||
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
license = GPLv3+
|
||||||
|
url = https://git.kucharczyk.xyz/lukas/manga-up
|
||||||
|
project_urls =
|
||||||
|
Bug Tracker = https://git.kucharczyk.xyz/lukas/manga-up/issues
|
||||||
|
classifiers =
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Topic :: Utilities
|
||||||
|
|
||||||
|
[options]
|
||||||
|
package_dir =
|
||||||
|
= src
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.6
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
where = src
|
|
@ -0,0 +1,4 @@
|
||||||
|
import requests
|
||||||
|
|
||||||
|
response = requests.get('https://httpbin.org/ip')
|
||||||
|
print('Code is {0}.'.format(response.status_code))
|
Loading…
Reference in New Issue