From 123defb4a17b5c655979805147836f54c7aadaa3 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 26 Nov 2017 09:29:17 +0100 Subject: Switch to setuptools and specify the deps --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 # 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'], -- cgit v1.2.3