Skip to content

Commit

Permalink
0.0.2_post_2-python: Add CMD & PowerShell equivalent python package d…
Browse files Browse the repository at this point in the history
…istribution build commands
  • Loading branch information
shailshouryya committed Mar 16, 2023
1 parent b455fbd commit c1c1cd3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ 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.2.post1.tar.gz`
- `dist/test-project-python-0.0.2.post2.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.2.post1-py3-none-any.whl`
- `dist/test_project_python-0.0.2.post2-py3-none-any.whl`
- `build/lib/`(and nested contents)
- `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.post1.tar.gz` command creates
- `dist/test-project-python-0.0.2.post1.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post1-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post1-py3-none-any.whl.asc`
- the `gpg --detach-sign -a dist/test-project-python-0.0.2.post2.tar.gz` command creates
- `dist/test-project-python-0.0.2.post2.tar.gz.asc`
- the `gpg --detach-sign -a dist/test_project_python-0.0.2.post2-py3-none-any.whl` command creates
- `dist/test_project_python-0.0.2.post2-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 @@ -143,10 +143,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.post1.tar.gz
│   ├── test-project-python-0.0.2.post1.tar.gz.asc
│   └── test_project_python-0.0.2.post1-py3-none-any.whl
│   └── test_project_python-0.0.2.post1-py3-none-any.whl.asc
│   ├── test-project-python-0.0.2.post2.tar.gz
│   ├── test-project-python-0.0.2.post2.tar.gz.asc
│   └── test_project_python-0.0.2.post2-py3-none-any.whl
│   └── test_project_python-0.0.2.post2-py3-none-any.whl.asc
├── make_nested_py_modules.sh
├── package_a
│   ├── __init__.py
Expand Down Expand Up @@ -411,4 +411,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.2-post-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_post_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.2-post-1',
version = '0.0.2_post_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.2-post-1'
__version__ = '0.0.2_post_2'

print('Entered test_project_python.__init__ :)')

Expand Down

0 comments on commit c1c1cd3

Please sign in to comment.