-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 786 Bytes
/
setup.py
File metadata and controls
30 lines (24 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os
import unittest
from setuptools import find_packages, setup
import crypto
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover("tests/", pattern="test_*.py")
return test_suite
setup(
name="crypto-ec",
version=crypto.__version__,
description="Simple Python Crypto library",
author="Makram Kamaleddine",
url="https://github.com/makramkd/crypto",
keywords="crypto elliptic curve",
long_description=open(os.path.join(os.path.dirname(__file__), "README.md")).read(),
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
],
packages=find_packages(),
test_suite="setup.test_suite",
)