]> Cypherpunks.ru repositories - pyssss.git/commitdiff
Prepare for uploading to PyPI
authorSergey Matveev <stargrave@stargrave.org>
Fri, 22 Feb 2019 13:13:02 +0000 (16:13 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 22 Feb 2019 13:18:13 +0000 (16:18 +0300)
AUTHORS [new file with mode: 0644]
MANIFEST.in [new file with mode: 0644]
README
VERSION [new file with mode: 0644]
setup.py [new file with mode: 0644]
ssss.py

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..f047789
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+* Sergey Matveev <stargrave@stargrave.org>
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644 (file)
index 0000000..e31df02
--- /dev/null
@@ -0,0 +1,6 @@
+include AUTHORS
+include COPYING
+include COPYING.LESSER
+include README
+include test_ssss.py
+include VERSION
diff --git a/README b/README
index 422769b0e082cefb75005d4f591e271d69336740..245bad0177214eee16ac7f85d5eb9d33d54cf6ce 100644 (file)
--- a/README
+++ b/README
@@ -1,3 +1,3 @@
 Pure Python Shamir's secret sharing scheme implementation.
 
-pyssss is free software: see the file COPYING for copying conditions.
+ssss is free software: see the file COPYING for copying conditions.
diff --git a/VERSION b/VERSION
new file mode 100644 (file)
index 0000000..49d5957
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+0.1
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..1155b8a
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,29 @@
+# coding: utf-8
+
+from setuptools import setup
+
+
+version = open("VERSION", "rb").read().strip().decode("ascii")
+
+setup(
+    name="ssss",
+    version=version,
+    description="Pure Python Shamir's secret sharing scheme implementation",
+    long_description=open("README", "rb").read().decode("utf-8"),
+    author="Sergey Matveev",
+    author_email="stargrave@stargrave.org",
+    url="https://git.cypherpunks.ru/cgit.cgi/pyssss.git/",
+    license="LGPLv3+",
+    classifiers=[
+        "Development Status :: 5 - Production/Stable",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
+        "Natural Language :: English",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python :: 2",
+        "Programming Language :: Python :: 3",
+        "Topic :: Security :: Cryptography",
+        "Topic :: Software Development :: Libraries :: Python Modules",
+    ],
+    py_modules=["ssss"],
+)
diff --git a/ssss.py b/ssss.py
index 3f019caca9babb0a0092d479ff3a58298922dafa..8e0569c78baddd842fada6aab9c8286d8e689278 100644 (file)
--- a/ssss.py
+++ b/ssss.py
@@ -1,5 +1,5 @@
 # coding: utf-8
-# pyssss -- Pure Python Shamir's secret sharing scheme implementation
+# ssss -- Pure Python Shamir's secret sharing scheme implementation
 # Copyright (C) 2015-2019 Sergey Matveev <stargrave@stargrave.org>
 #
 # This program is free software: you can redistribute it and/or modify