Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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


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

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

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 
  2. +2 −0 
1 
@@ -1 +0,0 @@
-include boto/cacerts/cacerts.txt
2 
@@ -60,6 +60,8 @@
"boto.rds", "boto.vpc", "boto.fps", "boto.emr", "boto.sns",
"boto.ecs", "boto.iam", "boto.route53", "",
"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.