Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for s3sourcedependencies, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size s3sourcedependencies-0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page