Skip to content

Commit 3f9a410

Browse files
committed
Changes following revision
1 parent 04d43d2 commit 3f9a410

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Chapter16/ABQ_Data_Entry/cxsetup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
import os
44

55
base = None
6-
include_files = [('abq_data_entry/images', 'images')]
76
target_name = 'abq'
87
if platform.system() == "Windows":
98
base = "Win32GUI"
10-
target_name = f'{target_name}.exe'
119

1210
shortcut_data = [
1311
# (Type, Folder, Name, ?, Target exe, arguments, description, hotkey, icon, icon index, show cmd, Working dir)
@@ -49,7 +47,7 @@
4947
'jupyter_client', 'jupyter_core', 'ipykernel',
5048
'ipython_genutils'
5149
],
52-
'include_files': include_files
50+
'include_files': [('abq_data_entry/images', 'images')]
5351
},
5452
'bdist_msi': {
5553
# can be generated in powershell: "{"+[System.Guid]::NewGuid().ToString().ToUpper()+"}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
--index-url https://pypi.python.org/simple/
2+
3+
# Runtime
14
requests
25
paramiko
36
matplotlib
47
psycopg2
8+
9+
# For testing REST:
10+
flask

Chapter16/ABQ_Data_Entry/setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
with open('README.rst', 'r') as fh:
44
long_description = fh.read()
5-
with open('requirements.txt', 'r') as fh:
6-
requirements = [
7-
line.strip()
8-
for line in fh.readlines()
9-
if line.strip() and not line.startswith('#')
10-
]
115

126
setup(
137
name='ABQ_Data_Entry',
@@ -23,7 +17,9 @@
2317
'abq_data_entry.images',
2418
'abq_data_entry.test'
2519
],
26-
install_requires=requirements,
20+
install_requires=[
21+
'requests', 'paramiko', 'matplotlib', 'psycopg2'
22+
],
2723
python_requires='>=3.6',
2824
package_data={'abq_data_entry.images': ['*.png', '*.xbm']},
2925
entry_points={

0 commit comments

Comments
 (0)