Commits

hideki nara committed d55c969

setup.py again

  • Participants
  • Parent commits 871ee9d

Comments (0)

Files changed (1)

 
 import sys
 import os
+import re
 sys.path.insert(0, os.path.abspath('src'))
 
 from setuptools import setup
     INSTALL_REQUIRES=[ r for r in open('requirements.txt').read().split('\n') if len(r)>0]
 except:
     INSTALL_REQUIRES=''
+INSTALL_REQUIRES = [ r for r in INSTALL_REQUIRES if re.search(r'^\-e',r) == None]
 
 print "requires...",INSTALL_REQUIRES
 # - readme