A small utility to make alias distributions on PyPI.
Project description
A small utility to make alias distributions on PyPI.
It will create an “empty” package with a different name (the “alias”) that depends on the package in your current working directory.
- Free software: BSD 2-Clause License
Installation
pip install pypi-alias
You can also install the in-development version with:
pip install https://github.com/ionelmc/pypi-alias/archive/master.zip
Usage
Make sure you run pypi-alias in a directory that has a setup.py file.
Example:
pypi-alias foobar sdist bdist_wheel twine upload dist\foobar*
Documentation
To use the project:
import pypi_alias pypi_alias.-()
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |
Changelog
1.0.0 (2021-04-08)
- Added support for Python 3. Contributed by Emil Stenström in #5.
- Dropped support for Python 2.
- Switched to argparse and added the --version and --dirty arguments.
- Added some light CI/testing.
0.2.0 (2015-06-18)
- Fix regression in __main__.
0.1.0 (2015-06-18)
- First release on PyPI.
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pypi_alias-1.0.0-py2.py3-none-any.whl (5.3 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size pypi-alias-1.0.0.tar.gz (12.5 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for pypi_alias-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6bcccbb49be1ffc7c8a9ecf11f069f2038d3ea6b3d5d6b87dabff98f3e63de |
|
MD5 | ec3a71df6edaa7929a4f30fc757fb906 |
|
BLAKE2-256 | 0d9683ce55f77a1bc40e9ce4f722757617e37ebe5c151f16a25c5b41bebb5614 |