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.
Source Distribution
Built Distribution
File details
Details for the file pypi-alias-1.0.0.tar.gz
.
File metadata
- Download URL: pypi-alias-1.0.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a570dbca12189b5e3db34e10a8df2ce4080507e981190d188b903ec8c1bbffcb |
|
MD5 | b25fecc115b00ecf81bfd0718f10a426 |
|
BLAKE2b-256 | 15b08f20ae3fdf05072d2d7e8b8dca6f928b9db1e97eb802397cc90ab8451a1f |
File details
Details for the file pypi_alias-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pypi_alias-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6bcccbb49be1ffc7c8a9ecf11f069f2038d3ea6b3d5d6b87dabff98f3e63de |
|
MD5 | ec3a71df6edaa7929a4f30fc757fb906 |
|
BLAKE2b-256 | 0d9683ce55f77a1bc40e9ce4f722757617e37ebe5c151f16a25c5b41bebb5614 |