summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2016-04-18 11:40:43 +1000
committerBrian May <brian@linuxpenguins.xyz>2016-04-18 11:44:05 +1000
commit89c5b570190a32da2cfaea061b87005177fea16d (patch)
tree5caf584e8736dce0cd1a6f91d351d14a12f3d907 /.gitignore
parenta8b288338b9a3eff1ec784efb5cf75dfbbae6d34 (diff)
Attempt readthedocs workaround
readthedocs alters docs/conf.py which in turn means python_scm detects a version and incorrectly adjusts the version number. Here we try to work around this problem. We do this by renaming the docs/conf.py file and copying it back to docs/conf.py when setup.py is invoked. This way, hopefully, scm won't see the changes to docs/conf.py References: http://stackoverflow.com/questions/35811267/readthedocs-and-setuptools-scm-version-wrong/36386177 https://github.com/pypa/setuptools_scm/issues/84
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 76398bb..458081f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
sshuttle/version.py
+docs/conf.py
*.pyc
*~
*.8