diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..37c73bb --- /dev/null +++ b/Pipfile @@ -0,0 +1,12 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +requests = "*" + +[dev-packages] + +[requires] +python_version = "3.9" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b5a3c46 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..f91f000 --- /dev/null +++ b/setup.cfg @@ -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 \ No newline at end of file diff --git a/src/manga-up/__init__.py b/src/manga-up/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/manga-up/manga-up.py b/src/manga-up/manga-up.py new file mode 100644 index 0000000..46be359 --- /dev/null +++ b/src/manga-up/manga-up.py @@ -0,0 +1,4 @@ +import requests + +response = requests.get('https://httpbin.org/ip') +print('Code is {0}.'.format(response.status_code)) \ No newline at end of file