Skip to content

Commit 7bd19b1

Browse files
Russell StewartRussell Stewart
authored andcommitted
Removed numpy and mpl default import to improve speed
1 parent be833ed commit 7bd19b1

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

bin/pythonpy

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ import json
1212
import itertools
1313
import itertools as it
1414

15-
try:
16-
import numpy as np
17-
except:
18-
pass
19-
try:
20-
import matplotlib.pyplot as plt
21-
except:
22-
pass
15+
#try:
16+
#import numpy as np
17+
#except:
18+
#pass
19+
#try:
20+
#import matplotlib.pyplot as plt
21+
#except:
22+
#pass
2323

24-
if os.getenv("PYSTARTUP"):
25-
pass
24+
#if os.getenv("PYSTARTUP"):
25+
#pass
2626

2727
parser = argparse.ArgumentParser()
2828
parser.add_argument('evaluation', nargs='?', default='None')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='pythonpy',
6-
version='0.1.1',
6+
version='0.1.2',
77
packages=['pythonpy',],
88
scripts=[os.path.join('bin', 'pythonpy')],
99
license='Creative Commons Attribution-Noncommercial-Share Alike license',

0 commit comments

Comments
 (0)