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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi-alias-1.0.0.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

pypi_alias-1.0.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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