A simple setup.py helper for private repositories
Project description
This python package provide a simple wrapper around Distribute to handle private projects. It is mostly intended for use in a package’s setup.py script.
It provides the following features:
Using a private package index when fetching package dependencies during python setup.py install
Restricting the register and upload commands to a private package index, or to disable them completely
Easy support for authenticated URLs when accessing the index.
Usage
In your setup.py script, ensure you have the following lines:
from setuptools import find_packages from restricted_pkg import setup setup( ..., private_repository="https://@myrepo.example.tld/path/to/repo", install_requires=[ "distribute", "restricted_pkg", ], )
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
restricted_pkg-0.1.0.tar.gz
(10.0 kB
view details)
File details
Details for the file restricted_pkg-0.1.0.tar.gz
.
File metadata
- Download URL: restricted_pkg-0.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc90e4411b954bdfd64bc7dec3898be9cd7ed98d77af5b4006e3449ed65095f5 |
|
MD5 | bdfa49081fff7550ffc2a31470f23367 |
|
BLAKE2b-256 | 73e03954551cf489ecd7dfe9146841017299390d9586521a5f4d367252279cc9 |