Skip to content

Commit 1ef1452

Browse files
committed
Fix packaging issues for 1.2.0 release.
1 parent a1db9f7 commit 1ef1452

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include dmoj/cptbox/syscalls/aliases.list
55
include dmoj/cptbox/syscalls/*.tbl
66
include dmoj/executors/*.policy
77
include dmoj/executors/csbox.exe
8-
include dmoj/executors/java-sandbox.jar
8+
include dmoj/executors/java_sandbox.jar
99
include dmoj/wbox/dmsec32.dll
1010
include dmoj/wbox/dmsec64.dll
1111
include dmoj/wbox/getaddr32.exe

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,18 +137,18 @@ def unavailable(self, e):
137137
f.write(readme)
138138
else:
139139
try:
140-
with open(rst_path) as f:
141-
readme = f.read()
140+
with open(rst_path, 'rb') as f:
141+
readme = f.read().replace(b'\r\n', b'\r').replace(b'\r', b'\n')
142142
except IOError:
143143
readme = None
144144

145145
setup(
146146
name='dmoj',
147-
version='1.1.0',
147+
version='1.2.0',
148148
packages=find_packages(),
149149
package_data={
150150
'dmoj.cptbox': ['syscalls/aliases.list', 'syscalls/*.tbl'],
151-
'dmoj.executors': ['csbox.exe', 'java-sandbox.jar', '*.policy'],
151+
'dmoj.executors': ['csbox.exe', 'java_sandbox.jar', '*.policy'],
152152
'dmoj.wbox': ['getaddr*.exe', 'dmsec*.dll'],
153153
},
154154
entry_points={

0 commit comments

Comments
 (0)