aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2018-12-08 23:43:14 +0100
committerJ08nY2019-03-14 18:03:59 +0100
commit79da1b885feb558a53d43b5cef6f747b9c182df1 (patch)
tree73712e8a851a18f4726f851c9ccc21579ae53a8a
parent4e144f629f562389270895400b2f906c9ac35312 (diff)
downloadpyecsca-79da1b885feb558a53d43b5cef6f747b9c182df1.tar.gz
pyecsca-79da1b885feb558a53d43b5cef6f747b9c182df1.tar.zst
pyecsca-79da1b885feb558a53d43b5cef6f747b9c182df1.zip
Add setup.py
-rw-r--r--README.md2
-rw-r--r--docs/conf.py6
-rw-r--r--docs/index.rst14
-rw-r--r--setup.py24
4 files changed, 29 insertions, 17 deletions
diff --git a/README.md b/README.md
index 50e1e78..b9e33a1 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# ![](docs/_static/logo.png) pyecsca [pɪɛtska]
-**Py**thon **E**lliptic **C**urve **S**ide-**C**hannel **A**nalysis toolkit.
+**Py**thon **E**lliptic **C**urve cryptography **S**ide-**C**hannel **A**nalysis toolkit.
## Requirements
diff --git a/docs/conf.py b/docs/conf.py
index 83452e9..f4f8253 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,9 +26,9 @@ author = 'Jan Jancar'
import sys; import os; sys.path.append(os.path.abspath('..'))
# The short X.Y version
-version = ''
+version = '0.1.0'
# The full version, including alpha/beta/rc tags
-release = ''
+release = '0.1.0'
# -- General configuration ---------------------------------------------------
@@ -73,7 +73,7 @@ language = None
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = None
+pygments_style = "trac"
# -- Options for HTML output -------------------------------------------------
diff --git a/docs/index.rst b/docs/index.rst
index e17167f..7b53b34 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -7,7 +7,7 @@
pyecsca [pɪɛtska]
=================
-**Py**\ thon **E**\ lliptic **C**\ urve **S**\ ide-**C**\ hannel **A**\ nalysis toolkit.
+**Py**\ thon **E**\ lliptic **C**\ urve cryptography **S**\ ide-**C**\ hannel **A**\ nalysis toolkit.
Requirements
============
@@ -36,18 +36,6 @@ API
api/pyecsca
-..
- Indices and tables
-..
- ==================
-..
- * :ref:`genindex`
-..
- * :ref:`modindex`
-..
- * :ref:`search`
-
-
.. _Numpy: https://www.numpy.org
.. _Scipy: https://www.scipy.org
.. _matplotlib: https://matplotlib.org/
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..2c20737
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python3
+from setuptools import setup
+
+setup(
+ name='pyecsca',
+ author='Jan Jancar',
+ author_email='johny@neuromancer.sk',
+ version='0.1.0',
+ packages=['pyecsca'],
+ license="MIT license",
+ description="Python Elliptic Curve cryptography Side Channel Analysis toolkit.",
+ long_description=open("README.md").read(),
+ install_requires=[
+ "numpy",
+ "scipy",
+ "atpublic",
+ "matplotlib",
+ "fastdtw"
+ ],
+ tests_require=[
+ "nose2",
+ "green"
+ ]
+)