1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- you-get-0.4.1555/setup.orig 2022-02-19 21:42:45.164326941 +0200
+++ you-get-0.4.1555/setup.py 2022-02-19 21:51:29.199363227 +0200
@@ -5,7 +5,7 @@
PROJ_METADATA = '%s.json' % PROJ_NAME
-import os, json, imp
+import os, json
here = os.path.abspath(os.path.dirname(__file__))
proj_info = json.loads(open(os.path.join(here, PROJ_METADATA), encoding='utf-8').read())
try:
@@ -13,12 +13,11 @@
except:
README = ""
CHANGELOG = open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8').read()
-VERSION = imp.load_source('version', os.path.join(here, 'src/%s/version.py' % PACKAGE_NAME)).__version__
from setuptools import setup, find_packages
setup(
name = proj_info['name'],
- version = VERSION,
+ version = '0.4.1555',
author = proj_info['author'],
author_email = proj_info['author_email'],
|