Skip to main content

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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page