Skip to main content

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

Release files for s3sourcedependencies 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s3sourcedependencies 0.1
File Size Uploaded
s3sourcedependencies-0.1.tar.gz 2.7 kB Details

Release files / s3sourcedependencies-0.1.tar.gz

Download URL s3sourcedependencies-0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
60411d590869ffcd7167e4ee41116b2e6eede91e3ce7609311422f5fe8f9a234
BLAKE2b-256 checksum
How to use checksums
f4248719d15d4e76863fa5a0c31c41c00211a2095b1cf4123a63832b56cf80fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page