Simple utility created as an example setuptools project.
whereampy is a terrible play on words (as in “Where am I?”) created as an example utility to show off a simple setuptools/setup.py distribution package.
mkpkg is a small utlity that demonstrates how to use pkg_resources to load data files out of a package (instead of relying on __file__ or similar mechanisms).
Simply run whereampy from the command line and use the --help option for more information.
Assuming you have a src subdirectory in your home directory:
localhost:~$ mkpkg -s spam/spam
will create a directory spam containing a skeleton setup.py file as well as a subdirectory spam with an __init__.py file.
See mkpkg --help for more options.
- 0.4 - Fixed setup.py issues
- 0.3 - Added the –setup option to mkpkg
- 0.2 - Unreleased tag that first added the mkpkg utility
- 0.1 - Initial release of whereampy
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size whereampy-0.4.5.tar.bz2 (3.7 kB)||File type Source||Python version None||Upload date||Hashes View|
|Filename, size whereampy-0.4.5.tar.gz (3.6 kB)||File type Source||Python version None||Upload date||Hashes View|
|Filename, size whereampy-0.4.5.zip (7.1 kB)||File type Source||Python version None||Upload date||Hashes View|