Skip to content

Commit

Permalink
use setuptools_scm to read version number from latest git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jsb committed Feb 16, 2018
1 parent be8e97f commit cbcf8ca
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,19 @@ def build_extension(self, ext):

setup(
name='openmesh',
version='0.0.1',
author='',
use_scm_version={
'version_scheme': 'post-release',
},
author='Alexander Dielen, Isaak Lim, Janis Born',
author_email='',
description='Python bindings for OpenMesh.',
long_description='OpenMesh is a generic and efficient data structure for representing and manipulating polygonal meshes.',
ext_modules=[CMakeExtension('openmesh')],
cmdclass=dict(build_ext=CMakeBuild),
zip_safe=False,
setup_requires=['numpy'],
setup_requires=['setuptools_scm', 'numpy'],
install_requires=['numpy'],
options={'build': {'build_base': 'build-setuptools'}}
options={'build': {'build_base': 'build-setuptools'}},
license='BSD 3-Clause',
url='https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-python',
)

0 comments on commit cbcf8ca

Please sign in to comment.