Skip to main content

Download and install from private source distributions hosted on Amazon S3.

Project description

Usage

Extends setuptools by adding a new setup keyword s3dependencies which will download and install the specified dependencies from S3.

An example:

setup(
    name='demo',
    version='0.5.1',
    author='Ion Scerbatiuc',
    packages=find_packages(),
    setup_requires=['s3sourcedependencies'],
    s3dependencies=[
        's3://my.sdist.bucket/private.dependency-0.x.tar.gz',
        's3://my.other.sdist.bucket/other.private.dependency-1.x.tar.gz',
    ],
)

In order for this to work you will need to have the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables available to the process installing the package.

Can be combined with s3sourceuploader to package, distribute and use private packages as dependencies for other private packages.

Current limitations

  • only .tar.gz source distributions are supported

  • only buckets available to a single AWS account can be used

  • the private packages are downloaded each time regardless if they are already installed

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

s3sourcedependencies-0.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file s3sourcedependencies-0.1.tar.gz.

File metadata

File hashes

Hashes for s3sourcedependencies-0.1.tar.gz
Algorithm Hash digest
SHA256 60411d590869ffcd7167e4ee41116b2e6eede91e3ce7609311422f5fe8f9a234
MD5 2ee817798dfdd48e9a441080ffd824c4
BLAKE2b-256 f4248719d15d4e76863fa5a0c31c41c00211a2095b1cf4123a63832b56cf80fd

See more details on using hashes here.

Supported by

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