From 9ebb8ff06ceb8b65bf41a9f1c907dbddfeabd2ed Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sun, 11 Aug 2013 17:05:03 -0400 Subject: Include all of our files in the distributions, and install packages --- MANIFEST.in | 7 +++++++ setup.py | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..a0d91cec --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE +include AUTHORS.rst +include CONTRIBUTING.rst +include README.rst + +recursive-include tests *.py +recursive-include tests/primitives/vectors * diff --git a/setup.py b/setup.py index 7fe90d9c..e1cc2394 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -from setuptools import setup +from setuptools import setup, find_packages about = {} with open("cryptography/__about__.py") as fp: @@ -62,6 +62,8 @@ setup( "Topic :: Security :: Cryptography", ], + packages=find_packages(exclude=["tests", "tests.*"]), + install_requires=install_requires, setup_requires=setup_requires, -- cgit v1.2.3