Skip to content

Commit

Permalink
Setup: quick hack to avoid downloading/installing requirements.
Browse files Browse the repository at this point in the history
When building for a distro, having intermediate steps like requirements
auto-download is forbidden. Until I find some better method, I put an
env var "NO_INSTALL_REQS" to supress that behavior.
  • Loading branch information
xrg authored and Dustin J. Mitchell committed Oct 3, 2010
1 parent f542646 commit aa44a54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ def make_release_tree(self, base_dir, files):
if not py_26:
setup_args['install_requires'].append('pysqlite')

if os.getenv('NO_INSTALL_REQS'):
setup_args['install_requires'] = None

entry_points={
'console_scripts': [
'buildbot = buildbot.scripts.runner:run'],
Expand Down

0 comments on commit aa44a54

Please sign in to comment.