Create a sample synapseConfig if none is present
Description
We should create a example synapseConfig that demonstrates all of the settings (commented out). We should then supply this to the user in the right spot if they don't arleady have one in their home directory. We could also use this an example for docs.synapse.org.
Unfortunately we will have to go through the code to find all of the possible settings.
Environment
Activity
This is so nifty! Works in both python2 and python3. Thanks Ziming!
To validate:
Before you validate, MAKE A BACKUP of your .synapseConfig file. It has a slight chance of getting accidentally overwritten.
Uninstall synapseclient pip uninstall synapseclient
If you do not have a ~/.synapseConfig create a file with that name
Install synapseclient from the synapsePythonClient folder using python setup.py install
Confirm your ~/.synapseConfig did not change
Rename your .synapseConfig to something else like .synapseConfig2 and python setup.py install again
A new .synapseConfig filled with examples should appear in your home directory ~