Browse files

setup.py

  • Loading branch information...
1 parent 72f7cbf commit ca7ee6865671a96fbdd39dd6fbce988df9141570 @kennethreitz committed Jul 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 setup.py
View
2 setup.py
@@ -15,6 +15,8 @@
os.system('python setup.py sdist upload')
sys.exit()
+os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
+
packages = [
'requests',
'requests.packages',

2 comments on commit ca7ee68

@micktwomey

If you are doing a setuptools install of a bunch of packages in the same process (e.g. python setup.py develop + install_requires) this will break the installation of any package which wants to write bytecode (e.g. Pyro does a compile in its setup.py).

Out of interest why was this change made?

@sigmavirus24
Collaborator

@micktwomey #778 may be the reason or at least related to it.

Please sign in to comment.