Skip to content

Commit

Permalink
Merge pull request #508 from zimingd/174-release-fix
Browse files Browse the repository at this point in the history
fixed example .synapseConfig not being included in pypi package
  • Loading branch information
brucehoff authored Jan 31, 2018
2 parents 0d2b84b + 3d48ba4 commit 9ce6646
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '1.7.3'
version = '1.7.4'
# The full version, including alpha/beta/rc tags.
release = '1.7.3'
release = '1.7.4'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
__version__=json.loads(open('synapseclient/synapsePythonClient').read())['latestVersion']

#make sure not to overwrite existing .synapseConfig with our example one
data_files = [(expanduser('~'), ['.synapseConfig'])] if not exists(expanduser('~/.synapseConfig')) else []

data_files = [(expanduser('~'), ['synapseclient/.synapseConfig'])] if not exists(expanduser('~/.synapseConfig')) else []
setup(name='synapseclient',
version=__version__,
description=description,
Expand Down Expand Up @@ -55,7 +54,7 @@
'console_scripts': ['synapse = synapseclient.__main__:main']
},
zip_safe=False,
package_data={'synapseclient': ['synapsePythonClient']},
package_data={'synapseclient': ['synapsePythonClient', '.synapseConfig']},
data_files=data_files,
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
File renamed without changes.

0 comments on commit 9ce6646

Please sign in to comment.