Show More
@@ -1,3 +1,4 b'' | |||||
|
1 | # -*- coding: utf-8 -*- | |||
1 | import os |
|
2 | import os | |
2 | import sys |
|
3 | import sys | |
3 | import platform |
|
4 | import platform | |
@@ -95,24 +96,27 b" package_data = {'rhodecode': ['i18n/*/LC" | |||||
95 | description = ('RhodeCode is a fast and powerful management tool ' |
|
96 | description = ('RhodeCode is a fast and powerful management tool ' | |
96 | 'for Mercurial and GIT with a built in push/pull server, ' |
|
97 | 'for Mercurial and GIT with a built in push/pull server, ' | |
97 | 'full text search and code-review.') |
|
98 | 'full text search and code-review.') | |
98 | keywords = ' '.join(['rhodecode', 'rhodiumcode', 'mercurial', 'git', |
|
99 | ||
99 | 'code review', 'repo groups', 'ldap' |
|
100 | keywords = ' '.join([ | |
100 | 'repository management', 'hgweb replacement' |
|
101 | 'rhodecode', 'rhodiumcode', 'mercurial', 'git', 'code review', | |
101 | 'hgwebdir', 'gitweb replacement', 'serving hgweb', ]) |
|
102 | 'repo groups', 'ldap', 'repository management', 'hgweb replacement', | |
|
103 | 'hgwebdir', 'gitweb replacement', 'serving hgweb', | |||
|
104 | ]) | |||
|
105 | ||||
102 | # long description |
|
106 | # long description | |
|
107 | README_FILE = 'README.rst' | |||
|
108 | CHANGELOG_FILE = 'docs/changelog.rst' | |||
103 | try: |
|
109 | try: | |
104 | readme_file = 'README.rst' |
|
110 | long_description = open(README_FILE).read() + '\n\n' + \ | |
105 | changelog_file = 'docs/changelog.rst' |
|
111 | open(CHANGELOG_FILE).read() | |
106 | long_description = open(readme_file).read() + '\n\n' + \ |
|
|||
107 | open(changelog_file).read() |
|
|||
108 |
|
112 | |||
109 | except IOError, err: |
|
113 | except IOError, err: | |
110 | sys.stderr.write("[WARNING] Cannot find file specified as " |
|
114 | sys.stderr.write( | |
111 | "long_description (%s)\n or changelog (%s) skipping that file" \ |
|
115 | "[WARNING] Cannot find file specified as long_description (%s)\n or " | |
112 | % (readme_file, changelog_file)) |
|
116 | "changelog (%s) skipping that file" % (README_FILE, CHANGELOG_FILE) | |
|
117 | ) | |||
113 | long_description = description |
|
118 | long_description = description | |
114 |
|
119 | |||
115 |
|
||||
116 | try: |
|
120 | try: | |
117 | from setuptools import setup, find_packages |
|
121 | from setuptools import setup, find_packages | |
118 | except ImportError: |
|
122 | except ImportError: |
General Comments 0
You need to be logged in to leave comments.
Login now