diff --git a/README.md b/README.md index 1800729..c16ca8b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # test-pip -Some test with python packaging. \ No newline at end of file +Some test with python packaging. + +Inspired by videos form [mCoding](https://www.youtube.com/channel/UCaiL2GDNpLYH6Wokkk1VNcg) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..99b7437 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42.0", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..5efe5ad --- /dev/null +++ b/setup.cfg @@ -0,0 +1,11 @@ +[metadata] +name = test-pip +description = A test of python packaging +author = Histausse +platforms = unix, linux, osx, cygwin, win32 + +[options] +packages = test-pip +python_requires = >=3.6 +package_dir = =src +zip_safe = no diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7f1a176 --- /dev/null +++ b/setup.py @@ -0,0 +1,4 @@ +from setuptools import setup + +if __name__ == "__main__": + setup() diff --git a/src/my_package/someCode.py b/src/test-pip/someCode.py similarity index 100% rename from src/my_package/someCode.py rename to src/test-pip/someCode.py