Skip to content

Commit cb1ad87

Browse files
committed
fix typo and small cleanup
1 parent 811ed20 commit cb1ad87

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
build/
22
dist/
3+
data/
34
caltechdata_api.egg-info/
45
caltechdata_api/__pycache__/

caltechdata_api/decustomize_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def decustomize_schema(json_record,pass_emails=False,pass_media=False):
262262
for jfile in args.json_files:
263263
infile = open(jfile,'r')
264264
data = json.load(infile)
265-
new = customize_schema(data)
265+
new = decustomize_schema(data)
266266
with open('formatted.json','w') as outfile:
267267
json.dump(new,outfile)
268268
#print(json.dumps(new))

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def run(self):
107107
except OSError:
108108
pass
109109

110-
self.status('Building Source and Wheel (universal) distribution…')
111-
os.system('{0} setup.py sdist bdist_wheel --universal'.format(sys.executable))
110+
self.status('Building Source and Wheel distribution…')
111+
os.system('{0} setup.py sdist bdist_wheel '.format(sys.executable))
112112

113113
self.status('Uploading the package to PyPI via Twine…')
114114
os.system('twine upload dist/*')

0 commit comments

Comments
 (0)