From 09a48179c97950cbd44c591d2f9d9c055544068f Mon Sep 17 00:00:00 2001 From: slow-but-steady Date: Mon, 20 Feb 2023 15:45:25 -0800 Subject: [PATCH] 0.0.1-python: Create basic python package for distribution --- python/README.md | 4 ++++ python/setup.py | 4 ++-- python/test_project_python/__init__.py | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python/README.md b/python/README.md index 84c46b5..af5a976 100644 --- a/python/README.md +++ b/python/README.md @@ -160,3 +160,7 @@ Also note that running python files as modules locally creates a `__pycache__` d ├── __init__.py ├── __main__.py ``` + +## Releases + +See the [latest release](https://github.com/shailshouryya/test-project/releases/tag/0.0.1-python) from the [releases page](https://github.com/shailshouryya/test-project/releases) diff --git a/python/setup.py b/python/setup.py index 09b8e7a..3c4b84c 100644 --- a/python/setup.py +++ b/python/setup.py @@ -10,8 +10,8 @@ setup( - name = 'test-project', - version = '0.0.0', + name = 'test-project-python', + version = '0.0.1', description = 'Test project to see how packaging works on PyPI.', long_description = long_description, long_description_content_type = 'text/markdown', diff --git a/python/test_project_python/__init__.py b/python/test_project_python/__init__.py index 342e732..35965fd 100644 --- a/python/test_project_python/__init__.py +++ b/python/test_project_python/__init__.py @@ -1,3 +1,5 @@ +__version__ = '0.0.1' + print('Entered test_project_python.__init__ :)') def function_name():