Skip to content

Commit 4169625

Browse files
committed
Released v0.1.74.
Dropped original release method in favour of Python Wheels.
1 parent 7d0eb88 commit 4169625

File tree

4 files changed

+54
-10
lines changed

4 files changed

+54
-10
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,22 @@ Judges or Offline Judges with this module.
1414

1515
## Installation
1616

17-
Copy the `pyjudge` folder to `%PYTHON3_PATH%/Lib/site-packages`.
17+
Clone the repository into an empty folder, and execute the following command:
1818

19-
Copy the content inside `Scripts` folder to `%PYTHON3_PATH%/Scripts`, if you are
20-
a Windows user. Otherwise think of a way to invoke `pyjudge.shell.main()` with
21-
a bash script or cmdlet.
19+
```sh
20+
pip install setuptools # If you have already installed this before, ignore it
21+
python setup.py install # Install pyjudge
22+
```
23+
24+
Alternatively you could download our official release from the releases panel,
25+
and install the compiled 'wheel' to your computer. After you have downloaded
26+
the release, you may install it in the command line:
27+
28+
```sh
29+
pip install ./pyjudge-version-py3-none-any.whl # Referring to the downloaded file
30+
```
2231

23-
We haven't generated a Python wheel by now, so only manual installation is
24-
possible until now.
32+
Installation is as fast as judging your programs!
2533

2634
## Configuring
2735

Scripts/pyjudge-script.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

Scripts/pyjudge.exe

-64 KB
Binary file not shown.

setup.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
from setuptools import setup
3+
4+
def readme():
5+
with open('README.md') as f:
6+
return f.read()
7+
8+
setup(
9+
name = 'pyjudge',
10+
version = '0.1.74',
11+
description = 'OI programs Judger in Python',
12+
long_description = 'Judge OI programs easily with pyJudge.',
13+
classifiers = [
14+
'Development Status :: 4 - Beta',
15+
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
16+
'Intended Audience :: Education',
17+
'Programming Language :: C',
18+
'Programming Language :: C++',
19+
'Programming Language :: Pascal',
20+
'Programming Language :: Python',
21+
'Topic :: Education :: Testing',
22+
],
23+
keywords = 'judge judger oi',
24+
url = 'https://github.com/ht35268/pyjudge',
25+
author = 'ht35268',
26+
author_email = '',
27+
license = 'GPLv3',
28+
packages = [
29+
'pyjudge',
30+
'pyjudge.visualize'
31+
],
32+
install_requires = [
33+
'mako',
34+
],
35+
entry_points = {
36+
'console_scripts': [
37+
'pyjudge = pyjudge.shell:main'
38+
],
39+
},
40+
)

0 commit comments

Comments
 (0)