From 0953f134d79e08d84e86cdaa4448f1f6c0895910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 4 May 2022 13:42:55 +0200 Subject: [PATCH] Adjust template --- Pipfile | 14 -------------- example_pkg/example.py | 2 -- pyproject.toml | 6 ------ setup.cfg | 26 -------------------------- {example_pkg => src}/__init__.py | 0 5 files changed, 48 deletions(-) delete mode 100644 Pipfile delete mode 100644 example_pkg/example.py delete mode 100644 pyproject.toml delete mode 100644 setup.cfg rename {example_pkg => src}/__init__.py (100%) diff --git a/Pipfile b/Pipfile deleted file mode 100644 index b97de13..0000000 --- a/Pipfile +++ /dev/null @@ -1,14 +0,0 @@ -[[source]] -url = "https://pypi.org/simple" -verify_ssl = true -name = "pypi" - -[packages] - -[dev-packages] -build = "*" -black = "*" -twine = "*" - -[requires] -python_version = "3.10" diff --git a/example_pkg/example.py b/example_pkg/example.py deleted file mode 100644 index 0ca2f5d..0000000 --- a/example_pkg/example.py +++ /dev/null @@ -1,2 +0,0 @@ -def hello(): - print('Hello') \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index b5a3c46..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,6 +0,0 @@ -[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 deleted file mode 100644 index f62951c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,26 +0,0 @@ -[metadata] -name = example_pkg -version = 0.1.0 -author = Lukáš Kucharczyk -author_email = lukas@kucharczyk.xyz -description = A small example package -long_description = file: README.md -long_description_content_type = text/markdown -url = https://git.kucharczyk.xyz/templates/python -project_urls = - Bug Tracker = https://git.kucharczyk.xyz/templates/python/issues -classifiers = - Programming Language :: Python :: 3 - Environment :: Console - Intended Audience :: End Users/Desktop - License :: OSI Approved :: GNU General Public License (GPL) - Operating System :: OS Independent - Topic :: Utilities - -[options] -packages = example_pkg -python_requires = >=3.6 - -[options.entry_points] -console_scripts = - example-pkg = example_pkg.example:hello \ No newline at end of file diff --git a/example_pkg/__init__.py b/src/__init__.py similarity index 100% rename from example_pkg/__init__.py rename to src/__init__.py