Skip to content

Commit

Permalink
0.0.2.post7-python: Clarify distribution and index upload process
Browse files Browse the repository at this point in the history
  • Loading branch information
shailshouryya committed Mar 22, 2023
1 parent ebfd878 commit af87f2f
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 @@ -53,27 +53,27 @@ The download link below to GnuPG is NOT required for the [Building a python pack

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 ([no longer recommended](https://blog.ganssle.io/tag/setuptools.html#summary)) `python setup.py sdist` commands creates
- `dist/test-project-python-0.0.2.post6.tar.gz`
- `dist/test-project-python-0.0.2.post7.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.post6-py3-none-any.whl`
- `dist/test_project_python-0.0.2.post7-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.post6.tar.gz`
- `dist/test_project_python-0.0.2.post6-py3-none-any.whl`
- `dist/test-project-python-0.0.2.post7.tar.gz`
- `dist/test_project_python-0.0.2.post7-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.post6.tar.gz` command creates
- `dist/test-project-python-0.0.2.post6.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post6-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post6-py3-none-any.whl.asc`
- the `gpg --detach-sign -a dist/test-project-python-0.0.2.post7.tar.gz` command creates
- `dist/test-project-python-0.0.2.post7.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post7-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post7-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!
- note that this
Expand Down Expand Up @@ -178,10 +178,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.post6.tar.gz
│   ├── test-project-python-0.0.2.post6.tar.gz.asc
│   └── test_project_python-0.0.2.post6-py3-none-any.whl
│   └── test_project_python-0.0.2.post6-py3-none-any.whl.asc
│   ├── test-project-python-0.0.2.post7.tar.gz
│   ├── test-project-python-0.0.2.post7.tar.gz.asc
│   └── test_project_python-0.0.2.post7-py3-none-any.whl
│   └── test_project_python-0.0.2.post7-py3-none-any.whl.asc
├── make_nested_py_modules.sh
├── package_a
│   ├── __init__.py
Expand Down Expand Up @@ -457,4 +457,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.post6-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.post7-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.post6',
version = '0.0.2.post7',
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.post6'
__version__ = '0.0.2.post7'

print('Entered test_project_python.__init__ :)')

Expand Down

0 comments on commit af87f2f

Please sign in to comment.