|
@@ -2,17 +2,17 @@
|
|
|
|
|
|
PROJ_METADATA = 'you-get.json'
|
|
|
|
|
|
-import os, json
|
|
|
-
|
|
|
+import os, json, imp
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
proj_info = json.loads(open(os.path.join(here, PROJ_METADATA)).read())
|
|
|
README = open(os.path.join(here, 'README.txt')).read()
|
|
|
CHANGELOG = open(os.path.join(here, 'CHANGELOG.txt')).read()
|
|
|
+VERSION = imp.load_source('version', os.path.join(here, 'you_get/version.py')).__version__
|
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
setup(
|
|
|
name = proj_info['name'],
|
|
|
- version = proj_info['version'],
|
|
|
+ version = VERSION,
|
|
|
|
|
|
author = proj_info['author'],
|
|
|
author_email = proj_info['author_email'],
|