summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 5e5d679..1b01047 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
# (C) 2017 Michał Górny <mgorny@gentoo.org>
# Licensed under the terms of 2-clause BSD license
-from distutils.core import setup
+from setuptools import setup
setup(
@@ -13,6 +13,13 @@ setup(
author_email='mgorny@gentoo.org',
url='http://github.com/mgorny/gemato',
+ extras_require={
+ 'blake2': ['pyblake2;python_version<"3.6"'],
+ 'bz2': ['bz2file;python_version<"3.0"'],
+ 'lzma': ['backports.lzma;python_version<"3.0"'],
+ 'sha3': ['pysha3;python_version<"3.6"'],
+ },
+
packages=['gemato'],
scripts=['bin/gemato'],