mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 22:04:44 +00:00
better handle import and move version to its own file
This commit is contained in:
5
setup.py
5
setup.py
@@ -13,7 +13,10 @@ except ImportError:
|
||||
print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme))
|
||||
read_readme = lambda f: open(f, 'r').read()
|
||||
|
||||
VERSION = dotdrop.__version__
|
||||
try:
|
||||
VERSION = open('dotdrop/version.py', "rt").read()
|
||||
except:
|
||||
raise('cannot find version module')
|
||||
REQUIRES_PYTHON = '>=3'
|
||||
|
||||
setup(
|
||||
|
||||
Reference in New Issue
Block a user