Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make cacerts.txt package data instead of just including it in source

distributions.

The cacerts.txt was missing from boto distributions (see issue #260).
Adding it to MANIFEST.in causes the file to be included in sdist source
archives, but *not* when installing via PyPI/pip/directly from github.

To fix this issue, MANIFEST.in has been deleted and the (hopefully, as
the whole setuptools/distutils affair is a bit of a mess) proper options
have been added to setup.py.

Installation via git+https through pip has been tested, I have also
checked if the file is included in the tarball generated by sdist. I am
reasonably confident that this will also cause installs from PyPI to
work afterwards.
  • Loading branch information...
commit c4c126d6369b98d06d7ae536e1c4242614b02fc0 1 parent 7366c75
@mbr mbr authored
Showing with 2 additions and 1 deletion.
  1. +0 −1  MANIFEST.in
  2. +2 −0  setup.py
View
1  MANIFEST.in
@@ -1 +0,0 @@
-include boto/cacerts/cacerts.txt
View
2  setup.py
@@ -60,6 +60,8 @@
"boto.rds", "boto.vpc", "boto.fps", "boto.emr", "boto.sns",
"boto.ecs", "boto.iam", "boto.route53", "boto.ses",
"boto.cloudformation", "boto.sts"],
+ include_package_data = True,
+ package_data = {"boto.cacerts": ["cacerts.txt"]},
license = "MIT",
platforms = "Posix; MacOS X; Windows",
classifiers = ["Development Status :: 5 - Production/Stable",
Please sign in to comment.
Something went wrong with that request. Please try again.