Skip to content
Myr

Reset PYTHONDONTWRITEBYTECODE after installation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #839.

authored by Ian Cordasco · committed by Ian Cordasco · parent b7c3945 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:setup.py+3 added
13 unmodified lines
14if sys.argv[-1] == 'publish':15 os.system('python setup.py sdist upload')16 sys.exit()1718bytecode = os.getenv('PYTHONDONTWRITEBYTECODE', '0')19os.environ['PYTHONDONTWRITEBYTECODE'] = '1'2021packages = [22 'requests',
44 unmodified lines
67 'Programming Language :: Python :: 3.0',68 'Programming Language :: Python :: 3.1',69 ),70)7172os.environ['PYTHONDONTWRITEBYTECODE'] = bytecode