diff --git a/.gitignore b/.gitignore index 9dd61a1..b6ae31a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ luastyle.egg-info luastyle/__pycache__ luastyle/tests/__pycache__/ *.cpp +*.html *.so MANIFEST dist/ diff --git a/setup.py b/setup.py index be4fee8..cff5ecc 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ import sys -from setuptools import setup, Extension -from distutils.command.sdist import sdist -from distutils.command.build_ext import build_ext -import distutils.cmd +from setuptools import setup, Extension, Command +from setuptools.command.sdist import sdist +from setuptools.command.build_ext import build_ext import luastyle @@ -30,7 +29,7 @@ def run(self): build_ext.run(self) -class CythonizeCommand(distutils.cmd.Command): +class CythonizeCommand(Command): description = 'Cythonize cython files' user_options = []