aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2019-12-21 17:45:33 +0100
committerJ08nY2019-12-21 18:01:17 +0100
commit4cde58b8b0826db51814fc930bfaa3ff3144bc4d (patch)
treea7c7b09468c95e9636ec2ff758e6541c82143489
parent5044b150a38c4701de816dbe62f16532ce6d5d66 (diff)
downloadpyecsca-4cde58b8b0826db51814fc930bfaa3ff3144bc4d.tar.gz
pyecsca-4cde58b8b0826db51814fc930bfaa3ff3144bc4d.tar.bz2
pyecsca-4cde58b8b0826db51814fc930bfaa3ff3144bc4d.zip
Fix Travis, add package data to bdist.
-rw-r--r--.coveragerc6
-rw-r--r--.travis.yml3
-rw-r--r--MANIFEST.in2
-rw-r--r--setup.py7
4 files changed, 15 insertions, 3 deletions
diff --git a/.coveragerc b/.coveragerc
index 542050b..014d16f 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,3 +1,9 @@
+[run]
+branch = True
+omit =
+ test/*
+ setup.py
+
[report]
exclude_lines =
pragma: no cover
diff --git a/.travis.yml b/.travis.yml
index 767db8e..41a8eb9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,10 +2,11 @@ language: python
dist: xenial
python:
- "3.7"
+ - "3.8"
install:
- - pip install ".[test, typecheck]"
- pip install codecov
+ - pip install -e ".[test, typecheck]"
script:
- make -i typecheck
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..50b7161
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,2 @@
+include README.md
+graft pyecsca/ec/efd/ \ No newline at end of file
diff --git a/setup.py b/setup.py
index f0e47c5..6fc1695 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,10 @@ setup(
"Intended Audience :: Developers",
"Intended Audience :: Science/Research"
],
- install_package_data=True,
+ package_data={
+ "pyecsca.ec" : ["efd/*/*", "efd/*/*/*", "efd/*/*/*/*"]
+ },
+ #install_package_data=True,
python_requires='>=3.7',
install_requires=[
"numpy",
@@ -32,6 +35,6 @@ setup(
],
extras_require={
"typecheck": ["mypy"],
- "test": ["nose2", "parameterized","green", "coverage"]
+ "test": ["nose2", "parameterized", "green", "coverage"]
}
)