Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from wangxinhe2006/dev
Browse files Browse the repository at this point in the history
Bump version number to v0.3
  • Loading branch information
wxh06 authored May 26, 2019
2 parents 0351132 + a40d213 commit 2615e62
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ python:
- "3.6"
- "3.6-dev"
- "3.7-dev"
before_install:
- pip install -U pip
- pip install -U setuptools
install:
- pip install -r requirements.txt
- pip install pylint
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

docker-judge - A Docker Based Online Judge Engine
dockerjudge - A Docker Based Online Judge Engine
Copyright (C) 2019 汪心禾

This program is free software: you can redistribute it and/or modify
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker-judge
[![Build Status](https://www.travis-ci.org/wangxinhe2006/docker-judge.svg)](https://www.travis-ci.org/wangxinhe2006/docker-judge)
[![License](https://img.shields.io/github/license/wangxinhe2006/docker-judge.svg)](https://img.shields.io/github/license/wangxinhe2006/docker-judge.svg)
# dockerjudge
[![Build Status](https://www.travis-ci.org/wangxinhe2006/dockerjudge.svg)](https://www.travis-ci.org/wangxinhe2006/dockerjudge)
[![License](https://img.shields.io/github/license/wangxinhe2006/dockerjudge.svg)](https://img.shields.io/github/license/wangxinhe2006/dockerjudge.svg)

A Docker Based Online Judge Engine

Expand Down
2 changes: 1 addition & 1 deletion dockerjudge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def judge(settings, source='', tests=(), timeout=1, client=docker.from_env()):
thread.join()
result.append(thread.return_value)
return [result, (compiler.output[1] or b'').decode()]
return [['CE'] * len(tests), compiler.output[1].decode()]
return [['CE' for test in tests], compiler.output[1].decode()]
finally:
container.remove(force=True)

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
docker[tls]
docker[tls]>=3.7
ruamel.yaml
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@

setuptools.setup(
name="dockerjudge",
version="0.2",
version="0.3",
author="汪心禾",
author_email="[email protected]",
description="A Docker Based Online Judge Engine",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wangxinhe2006/docker-judge",
url="https://github.com/wangxinhe2006/dockerjudge",
packages=setuptools.find_packages(),
install_requires = [
'docker[tls]>=3.7',
'ruamel.yaml'
],
classifiers=[
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
Expand Down

0 comments on commit 2615e62

Please sign in to comment.