We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abeafa7 commit e733b20Copy full SHA for e733b20
pusher/version.py
@@ -0,0 +1,2 @@
1
+# Don't change the format of this line: the version is extracted by ../setup.py
2
+VERSION = '1.4rc3'
setup.py
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
from setuptools import setup
3
+import os
4
import re
5
6
# Lovingly adapted from https://github.com/kennethreitz/requests/blob/39d693548892057adad703fda630f925e61ee557/setup.py#L50-L55
-with open('pusher/version.py', 'r') as fd:
7
+with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'pusher/version.py'), 'r') as fd:
8
VERSION = re.search(r'^VERSION = [\']([^\']*)[\']',
9
fd.read(), re.MULTILINE).group(1)
10
0 commit comments