From 945c3ecd2bb38e61e284f09a7c251307934fac8c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 6 Mar 2020 20:36:04 +0000 Subject: Add command class for sdist to script --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6e32599..885a5f9 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,8 @@ # -*- coding: utf-8 -*- import os -import re + +from distutils.command.sdist import sdist # Package meta-data AUTHOR = "Gertjan van den Burg" @@ -346,6 +347,7 @@ if __name__ == "__main__": attr["license"] = LICENSE attr["install_requires"] = REQUIRED attr["extras_require"] = EXTRAS + attr["cmdclass"] = {"sdist": sdist} from numpy.distutils.core import setup -- cgit v1.2.3