mute some cython and setuptools warnings
This commit is contained in:
parent
ecc3de6803
commit
569a7af7d9
2 changed files with 3 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -33,7 +33,7 @@ if dev_mode:
|
||||||
"""
|
"""
|
||||||
def run(self):
|
def run(self):
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
cythonize(sources, language='c++')
|
cythonize(sources, language_level="2")
|
||||||
_sdist.run(self)
|
_sdist.run(self)
|
||||||
|
|
||||||
cmdclass = {'sdist': sdist, 'build_ext': build_ext}
|
cmdclass = {'sdist': sdist, 'build_ext': build_ext}
|
||||||
|
|
@ -67,6 +67,7 @@ setup(
|
||||||
use_scm_version={"write_to": "src/pyclipper/_version.py"},
|
use_scm_version={"write_to": "src/pyclipper/_version.py"},
|
||||||
description='Cython wrapper for the C++ translation of the Angus Johnson\'s Clipper library (ver. 6.4.2)',
|
description='Cython wrapper for the C++ translation of the Angus Johnson\'s Clipper library (ver. 6.4.2)',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/x-rst",
|
||||||
author='Angus Johnson, Maxime Chalton, Lukas Treyer, Gregor Ratajc',
|
author='Angus Johnson, Maxime Chalton, Lukas Treyer, Gregor Ratajc',
|
||||||
author_email='me@gregorratajc.com',
|
author_email='me@gregorratajc.com',
|
||||||
maintainer="Cosimo Lupo",
|
maintainer="Cosimo Lupo",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# distutils: language=c++
|
||||||
"""
|
"""
|
||||||
Cython wrapper for the C++ translation of the Angus Johnson's Clipper
|
Cython wrapper for the C++ translation of the Angus Johnson's Clipper
|
||||||
library (ver. 6.2.1) (http://www.angusj.com/delphi/clipper.php)
|
library (ver. 6.2.1) (http://www.angusj.com/delphi/clipper.php)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue