Skip to content

Commit cd0bad4

Browse files
author
James William Pye
committed
Only limit during local imports.
1 parent 93090ac commit cd0bad4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818

1919
# distutils data is kept in `postgresql.release.distutils`
2020
sys.path.insert(0, '')
21-
sys.dont_write_bytecode = True
2221

22+
sys.dont_write_bytecode = True
2323
import postgresql.release.distutils as pg_dist
2424
defaults = pg_dist.standard_setup_keywords()
25+
sys.dont_write_bytecode = False
2526

2627
if __name__ == '__main__':
2728
from distutils.core import setup

0 commit comments

Comments
 (0)