Skip to content

Commit

Permalink
0.0.2.post9-python: Reformat code and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shailshouryya committed Mar 24, 2023
1 parent 53c009d commit 68982b2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,27 +91,27 @@ test_project_python.__file__
Note that some of the files below are configuration/build/binary files auto-generated by running commands to set up the package locally, and are NOT included in the GitHub repository:

- the ([no longer recommended](https://blog.ganssle.io/tag/setuptools.html#summary)) `python setup.py sdist` commands creates
- `dist/test-project-python-0.0.2.post8.tar.gz`
- `dist/test-project-python-0.0.2.post9.tar.gz`
- `test_project_python.egg-info` (and nested contents)
- use `python -m build` or `python -m build --no-isolation` command instead to use the [latest](https://packaging.python.org/en/latest/key_projects/#build) [build tools](https://packaging.python.org/en/latest/key_projects/#project-summaries)
- the ([no longer recommended](https://blog.ganssle.io/tag/setuptools.html#summary)) `python setup.py bdist_wheel` command creates
- `build/bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo`
- `dist/test_project_python-0.0.2.post8-py3-none-any.whl`
- `dist/test_project_python-0.0.2.post9-py3-none-any.whl`
- `build/lib/`(and nested contents)
- `test_project_python.egg-info` (and nested contents)
- use `python -m build` or `python -m build --no-isolation` command instead to use the [latest](https://packaging.python.org/en/latest/key_projects/#build) [build tools](https://packaging.python.org/en/latest/key_projects/#project-summaries)
- the [`python -m build` command](https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives) creates
- `dist/test-project-python-0.0.2.post8.tar.gz`
- `dist/test_project_python-0.0.2.post8-py3-none-any.whl`
- `dist/test-project-python-0.0.2.post9.tar.gz`
- `dist/test_project_python-0.0.2.post9-py3-none-any.whl`
- `test_project_python.egg-info` (and nested contents)
- the `python -m pip install .` command creates
- `build/bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo`
- `build/lib/`(and nested contents)
- `test_project_python.egg-info` (and nested contents)
- the `gpg --detach-sign -a dist/test-project-python-0.0.2.post8.tar.gz` command creates
- `dist/test-project-python-0.0.2.post8.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post8-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post8-py3-none-any.whl.asc`
- the `gpg --detach-sign -a dist/test-project-python-0.0.2.post9.tar.gz` command creates
- `dist/test-project-python-0.0.2.post9.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post9-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post9-py3-none-any.whl.asc`

Also note that running python files as modules locally creates a `__pycache__` directory and `.pyc` file nested inside the `__pycache__` directory (which were manually excluded from the structure below) for that corresponding module!

Expand Down Expand Up @@ -217,10 +217,10 @@ Also note that running python files as modules locally creates a `__pycache__` d
│   └── make_nested_py_modules.py
│   └── make_nested_py_modules_examples.py
├── dist
│   ├── test-project-python-0.0.2.post8.tar.gz
│   ├── test-project-python-0.0.2.post8.tar.gz.asc
│   └── test_project_python-0.0.2.post8-py3-none-any.whl
│   └── test_project_python-0.0.2.post8-py3-none-any.whl.asc
│   ├── test-project-python-0.0.2.post9.tar.gz
│   ├── test-project-python-0.0.2.post9.tar.gz.asc
│   └── test_project_python-0.0.2.post9-py3-none-any.whl
│   └── test_project_python-0.0.2.post9-py3-none-any.whl.asc
├── make_nested_py_modules.sh
├── package_a
│   ├── __init__.py
Expand Down Expand Up @@ -564,4 +564,4 @@ To see some suggested best practices associated with distributing Python package

## Releases

See the [latest release](https://github.com/shailshouryya/test-project/releases/tag/0.0.2.post8-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.post9-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.2.post8',
version = '0.0.2.post9',
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.2.post8'
__version__ = '0.0.2.post9'


print('Entered test_project_python.__init__ :)')
Expand Down

0 comments on commit 68982b2

Please sign in to comment.