Skip to content

Commit

Permalink
Merge pull request spyder-ide#55 from jitseniesen/fix-setup
Browse files Browse the repository at this point in the history
PR: Fix version logic in setup.py
  • Loading branch information
jitseniesen authored Jan 29, 2017
2 parents fbd1e8f + ab60f8c commit c414ace
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ install:
# Use Astropy ci helpers for initial setup
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
- $CONDA_INSTALL ciocheck -c conda-forge
- $CONDA_INSTALL ciocheck -c spyder-ide
- python setup.py develop
- spyder --reset
- spyder
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ install:
- if "%USE_QT_API%" == "PySide2" conda install qt=5.* pyside2
- if "%USE_QT_API%" == "PyQt4" conda install qt=4.* pyqt=4.*
- if "%USE_QT_API%" == "PySide" conda install qt=4.* pyside
- "conda install ciocheck -c conda-forge"
- "conda install ciocheck -c spyder-ide"
- "python setup.py develop"
- "spyder --reset"
- "spyder"
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh &&
export PATH="$HOME/miniconda/bin:$PATH" &&
source activate test &&
conda install ciocheck -c conda-forge &&
conda install ciocheck -c spyder-ide &&
python setup.py develop;

test:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def get_version():
for l in lines:
if "__version__" in l:
version = l.split("=")[1].strip()
version = version.replace("'", '').replace('"', '')
return version

def get_package_data(name, extlist):
Expand Down

0 comments on commit c414ace

Please # to comment.