Test project to see how packaging works on PyPI.
Project description
test_project_python
This project contains a dummy python project to
- test how packaging works for python
- using the
setuptools
module- see the comments in the
setup.py
file for more references and information
- see the comments in the
- when uploading to https://test.pypi.org/ and/or https://pypi.org/
- references describing basic packaging information:
- references describing more advanced packaging capabilities:
- packaging.python.org landing page: Python Packaging User Guide
- maintained by Python Packaging Authority
- using the
Project Structure
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
python3 setup.py sdist
commands createsdist/test-project-0.0.0.tar.gz
test_project.egg-info
(and nested contents)
- the
python3 setup.py bdist_wheel
command createsdist/test_project-0.0.0-py3-none-any.whl
build/bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo
build/lib/
(and nested contents)test_project.egg-info
(and nested contents)
- the
python3 setup.py bdist_wheel
command createsbuild/bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo
build/lib/
(and nested contents)test_project.egg-info
(and nested contents)
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
- only happens when running
python3 -m path.to.module.name
- does NOT happen when running
python3 path/to/module/name.py
- only happens when running
(structure taken from the output of the tree
command run from the test-project/python
directory)
.
├── README.md
├── build
│ ├── bdist.OPERATINGSYSTEMNAME-moreoperatingsysteminfo
│ └── lib
│ ├── package_a
│ │ ├── __init__.py
│ │ ├── module_a.py
│ │ ├── module_b.py
│ │ ├── module_c.py
│ │ ├── module_d.py
│ │ └── module_e.py
│ ├── package_b
│ │ ├── __init__.py
│ │ ├── module_a.py
│ │ ├── module_b.py
│ │ ├── module_c.py
│ │ ├── module_d.py
│ │ └── module_e.py
│ ├── package_c
│ │ ├── __init__.py
│ │ ├── module_a.py
│ │ ├── module_b.py
│ │ ├── module_c.py
│ │ ├── module_d.py
│ │ └── module_e.py
│ └── test_project_python
│ ├── __init__.py
│ └── __main__.py
├── dist
│ ├── test-project-0.0.0.tar.gz
│ └── test_project-0.0.0-py3-none-any.whl
├── make_nested_py_modules.sh
├── package_a
│ ├── __init__.py
│ ├── module_a.py
│ ├── module_b.py
│ ├── module_c.py
│ ├── module_d.py
│ ├── module_e.py
│ ├── subpackage_a
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ ├── subpackage_b
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ └── subpackage_c
│ ├── a.py
│ ├── b.py
│ ├── c.py
│ ├── d.py
│ └── e.py
├── package_b
│ ├── __init__.py
│ ├── module_a.py
│ ├── module_b.py
│ ├── module_c.py
│ ├── module_d.py
│ ├── module_e.py
│ ├── subpackage_a
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ ├── subpackage_b
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ └── subpackage_c
│ ├── a.py
│ ├── b.py
│ ├── c.py
│ ├── d.py
│ └── e.py
├── package_c
│ ├── __init__.py
│ ├── module_a.py
│ ├── module_b.py
│ ├── module_c.py
│ ├── module_d.py
│ ├── module_e.py
│ ├── subpackage_a
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ ├── subpackage_b
│ │ ├── a.py
│ │ ├── b.py
│ │ ├── c.py
│ │ ├── d.py
│ │ └── e.py
│ └── subpackage_c
│ ├── a.py
│ ├── b.py
│ ├── c.py
│ ├── d.py
│ └── e.py
├── setup.py
├── test_project.egg-info
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ ├── dependency_links.txt
│ ├── entry_points.txt
│ └── top_level.txt
└── test_project_python
├── __init__.py
├── __main__.py
Releases
See the latest release from the releases page
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for test-project-python-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d35c7a9145573d75eb6f0d7fc12457f0f20872a391b9070f5eb01ac774fdd3 |
|
MD5 | 7ee5dfe8a12cc4bd7e588b5a6ba32ff0 |
|
BLAKE2b-256 | 0226a4296415ccff0a8dd5c16a646bae0b3a164d5d3b646832be752cfc2cb289 |
Hashes for test_project_python-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797a7d22a311604826d9fa8735d317a191331e6b1e733c6529b24d16b9373e3a |
|
MD5 | 3ca85b99da369c2795c1339ba31f71b0 |
|
BLAKE2b-256 | aaf9964129c8e5226feec0e259e2cc114db97ed08c6c333127b7ab3d61674c25 |