Skip to content

Commit 3eb935a

Browse files
authored
Merge pull request #97 from simpeg/credentials
pypi deploys
2 parents e94a1e1 + df57fc4 commit 3eb935a

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[bumpversion]
2-
current_version = 0.2.0
2+
current_version = 0.2.1
33
files = setup.py discretize/__init__.py docs/conf.py
44

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ after_success:
6161

6262
# deploy to pypi on tags
6363
- mv credentials/.pypirc ~/.pypirc ;
64-
- python setup.py sdist bdist_wheel --universal upload;
64+
- python setup.py sdist bdist_wheel --universal;
65+
- twine upload dist/* --skip-existing;
6566

6667

6768
notifications:

appveyor.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,10 @@ artifacts:
6262
deploy_script:
6363
# following https://github.com/AndrewAnnex/SpiceyPy/blob/master/appveyor.yml
6464
- echo "Starting Artifact deployment"
65-
- echo [distutils] > %USERPROFILE%\\.pypirc
66-
- echo index-servers = >> %USERPROFILE%\\.pypirc
6765
- echo pypi >> %USERPROFILE%\\.pypirc
6866
- echo [pypi] >> %USERPROFILE%\\.pypirc
6967
- echo repository=https://pypi.python.org/pypi >> %USERPROFILE%\\.pypirc
7068
- echo username=lheagy >> %USERPROFILE%\\.pypirc
7169
- echo password=%pypi_password% >> %USERPROFILE%\\.pypirc
7270
# deploy on dev or master
73-
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload -r pypi --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
74-
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload -r pypi --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
71+
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload dist/* --skip-existing" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}

credentials.tar.gz.enc

-32 Bytes
Binary file not shown.

discretize/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"""
1919
)
2020

21-
__version__ = '0.2.0'
21+
__version__ = '0.2.1'
2222
__author__ = 'SimPEG Team'
2323
__license__ = 'MIT'
2424
__copyright__ = '2013 - 2017, SimPEG Developers, http://simpeg.xyz'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
# built documents.
6161
#
6262
# The short X.Y version.
63-
version = '0.2.0'
63+
version = '0.2.1'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '0.2.0'
65+
release = '0.2.1'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def configuration(parent_package='', top_path=None):
5656

5757
setup(
5858
name="discretize",
59-
version="0.2.0",
59+
version="0.2.1",
6060
install_requires=[
6161
'numpy>=1.7',
6262
'scipy>=0.13',

0 commit comments

Comments
 (0)