|
@@ -10,22 +10,28 @@ if os.path.exists(link_name):
|
10
|
10
|
os.unlink(link_name)
|
11
|
11
|
os.symlink('src/cdiff.py', link_name)
|
12
|
12
|
|
13
|
|
-with open('README.rst') as doc:
|
14
|
|
- long_description = doc.read()
|
|
13
|
+with open('CHANGES') as changes:
|
|
14
|
+ for change in changes:
|
|
15
|
+ if change.startswith('Version '):
|
|
16
|
+ version = change.split()[1]
|
|
17
|
+ break
|
|
18
|
+ changes.seek(0)
|
|
19
|
+ with open('README.rst') as doc:
|
|
20
|
+ long_description = doc.read() + changes.read()
|
15
|
21
|
|
16
|
22
|
setup(
|
17
|
23
|
name = 'cdiff',
|
18
|
|
- version = '0.0.3',
|
|
24
|
+ version = version,
|
19
|
25
|
author = 'Matthew Wang',
|
20
|
26
|
author_email = 'mattwyl@gmail.com',
|
21
|
27
|
license = 'BSD-3',
|
22
|
|
- description = ('View colored, incremental diff in unified format or side '
|
23
|
|
- 'by side with auto pager'),
|
|
28
|
+ description = ('Term based tool to view colored, incremental diff in '
|
|
29
|
+ 'unified format or side ' 'by side with auto pager'),
|
24
|
30
|
long_description = long_description,
|
25
|
31
|
keywords = 'colored incremental side-by-side diff',
|
26
|
32
|
url = 'https://github.com/ymattw/cdiff',
|
27
|
33
|
classifiers = [
|
28
|
|
- 'Development Status :: 3 - Alpha',
|
|
34
|
+ 'Development Status :: 4 - Beta',
|
29
|
35
|
'Topic :: Utilities',
|
30
|
36
|
'License :: OSI Approved :: BSD License',
|
31
|
37
|
'Environment :: Console',
|