aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST.in7
-rw-r--r--setup.py4
2 files changed, 10 insertions, 1 deletions
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,