Skip to content

Commit

Permalink
Get version from setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
sbraz committed May 14, 2018
1 parent f143c14 commit 3a409df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ before_install: |
ar x libmediainfo0_17.10-1_amd64.xUbuntu_14.04.deb
tar xf data.tar.xz
fi
pip install pytest pytest-runner
pip install pytest pytest-runner setuptools_scm
script: |
if [ $TRAVIS_OS_NAME == osx ]; then
LD_LIBRARY_PATH=MediaInfoLib/ python setup.py test
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

setup(
name='pymediainfo',
version='2.2.1',
author='Louis Sautier',
author_email='[email protected]',
url='https://github.com/sbraz/pymediainfo',
Expand All @@ -17,6 +16,8 @@
include_package_data=True,
zip_safe=False,
license='MIT',
use_scm_version=True,
setup_requires=["setuptools_scm"],
install_requires=["setuptools"],
tests_require=["pytest", "pytest-runner"],
classifiers=[
Expand Down

0 comments on commit 3a409df

Please sign in to comment.