Skip to content

Commit

Permalink
Fix packaging issues for 1.2.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum5 committed Apr 22, 2018
1 parent a1db9f7 commit 1ef1452
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include dmoj/cptbox/syscalls/aliases.list
include dmoj/cptbox/syscalls/*.tbl
include dmoj/executors/*.policy
include dmoj/executors/csbox.exe
include dmoj/executors/java-sandbox.jar
include dmoj/executors/java_sandbox.jar
include dmoj/wbox/dmsec32.dll
include dmoj/wbox/dmsec64.dll
include dmoj/wbox/getaddr32.exe
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@ def unavailable(self, e):
f.write(readme)
else:
try:
with open(rst_path) as f:
readme = f.read()
with open(rst_path, 'rb') as f:
readme = f.read().replace(b'\r\n', b'\r').replace(b'\r', b'\n')
except IOError:
readme = None

setup(
name='dmoj',
version='1.1.0',
version='1.2.0',
packages=find_packages(),
package_data={
'dmoj.cptbox': ['syscalls/aliases.list', 'syscalls/*.tbl'],
'dmoj.executors': ['csbox.exe', 'java-sandbox.jar', '*.policy'],
'dmoj.executors': ['csbox.exe', 'java_sandbox.jar', '*.policy'],
'dmoj.wbox': ['getaddr*.exe', 'dmsec*.dll'],
},
entry_points={
Expand Down

0 comments on commit 1ef1452

Please sign in to comment.