Be more pathy
@@ -22,7 +22,7 @@ django.setup()
def get_version():
"""Return package version from setup.cfg."""
config = RawConfigParser()
- config.read('../setup.cfg')
+ config.read(os.path.join('..', 'setup.cfg'))
return config.get('metadata', 'version')
