Changeset - e9b4664c958d
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-05-03 23:19:30
marcin@python-works.com
fix depracated PLATFORM_WIN var
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
setup.py
Show inline comments
 
@@ -21,25 +21,25 @@ def _get_meta_var(name, data, callback_h
 
_meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb')
 
_metadata = _meta.read()
 
_meta.close()
 

	
 
callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:]))
 
__version__ = _get_meta_var('VERSION', _metadata, callback)
 
__license__ = _get_meta_var('__license__', _metadata)
 
__author__ = _get_meta_var('__author__', _metadata)
 
__url__ = _get_meta_var('__url__', _metadata)
 
# defines current platform
 
__platform__ = platform.system()
 

	
 
is_windows = __platform__ in _get_meta_var('PLATFORM_WIN', _metadata)
 
is_windows = __platform__ in ('Windows')
 

	
 
requirements = [
 
    "waitress==0.8.2",
 
    "webob==1.0.8",
 
    "webtest==1.4.3",
 
    "Pylons==1.0.0",
 
    "Beaker==1.6.4",
 
    "WebHelpers==1.3",
 
    "formencode==1.2.4",
 
    "SQLAlchemy==0.7.10",
 
    "Mako==0.7.3",
 
    "pygments>=1.5",
0 comments (0 inline, 0 general)