Skip to content

Commit

Permalink
0.0.2-python: Support arbitrarily deep python subpackage creation
Browse files Browse the repository at this point in the history
  • Loading branch information
shailshouryya committed Mar 11, 2023
1 parent ff64c54 commit 6cf1dc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ This project contains a dummy python project to

Note that some of the files below are configuration/build/binary files auto-generated after running commands to set up the package locally, and are NOT included in the repo:
- the `python setup.py sdist` commands creates
- `dist/test-project-python-0.0.1.tar.gz`
- `dist/test-project-python-0.0.2.tar.gz`
- `test_project_python.egg-info` (and nested contents)
- the `python setup.py bdist_wheel` command creates
- `build/bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo`
- `dist/test_project_python-0.0.1-py3-none-any.whl`
- `dist/test_project_python-0.0.2-py3-none-any.whl`
- `build/lib/`(and nested contents)
- `test_project_python.egg-info` (and nested contents)
- the `python -m pip install .` command creates
Expand Down Expand Up @@ -138,8 +138,8 @@ Also note that running python files as modules locally creates a `__pycache__` d
│   └── __main__.py
│   └── make_nested_py_modules.py
├── dist
│   ├── test-project-python-0.0.1.tar.gz
│   └── test_project-python-0.0.1-py3-none-any.whl
│   ├── test-project-python-0.0.2.tar.gz
│   └── test_project-python-0.0.2-py3-none-any.whl
├── make_nested_py_modules.sh
├── package_a
│   ├── __init__.py
Expand Down Expand Up @@ -307,4 +307,4 @@ twine upload dist/project_name-MAJOR.MINOR.PATCH-py3-none-any.whl dist/project_n

## 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)
See the [latest release](https://github.com/shailshouryya/test-project/releases/tag/0.0.2-python) from the [releases page](https://github.com/shailshouryya/test-project/releases)
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name = 'test-project-python',
version = '0.0.1',
version = '0.0.2',
description = 'Test project to see how packaging works on PyPI.',
long_description = long_description,
long_description_content_type = 'text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion python/test_project_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.1'
__version__ = '0.0.2'

print('Entered test_project_python.__init__ :)')

Expand Down

0 comments on commit 6cf1dc0

Please sign in to comment.