Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build system #180

Merged
merged 6 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `pyrgg.engines.erdos_reyni` module
### Changed
- `README.md` modified
- `build_exe.bat` modified
## [1.5] - 2024-09-16
### Added
- `feature_request.yml` template
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ PyRGG is a user-friendly synthetic random graph generator that is written in Pyt
- Check [Conda Managing Package](https://conda.io)
- `conda install -c sepandhaghighi pyrgg`

### Exe Version (Only Windows)
### Exe Version

⚠️ Only Windows

⚠️ For PyRGG targeting Windows < 10, the user needs to take special care to include the Visual C++ run-time `.dlls`(for more information visit [here](https://pyinstaller.org/en/v3.3.1/usage.html#windows))

- Download [Exe-Version 1.5](https://github.com/sepandhaghighi/pyrgg/releases/download/v1.5/PYRGG-1.5.exe)
- Run `PYRGG-1.5.exe`

Expand All @@ -80,7 +85,7 @@ PyRGG will likely run on a modern dual core PC. Typical configuration is:
- Dual Core CPU (2.0 Ghz+)
- 4GB of RAM

Note that it may run on lower end equipment though good performance is not guaranteed.
⚠️ Note that it may run on lower end equipment though good performance is not guaranteed


## Usage
Expand Down
13 changes: 7 additions & 6 deletions build_exe.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
@echo off
python --version | find /i "Python 3.4" > nul
echo -----
if errorlevel 1 (
echo Warning : Please use Python 3.4.x
) else (
echo Python version check done!
FOR /F "tokens=* USEBACKQ" %%F IN (`python --version`) DO (
SET py_version_str=%%F
)
SET py_version=%py_version_str:~7%

echo Your Python Version : %py_version%
echo Recommended Python Version : ^>= 3.6
echo -----
echo -----
python -m PyInstaller PYRGG.spec
pause
4 changes: 2 additions & 2 deletions otherfile/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PyRGG Release Instructions

**Last Update: 2024-05-03**
**Last Update: 2024-10-06**

1. Create the `release` branch under `dev`
2. Update all version tags
Expand Down Expand Up @@ -33,7 +33,7 @@
3. `git push origin master`
4. Wait for all CI pass
7. Build EXE file
1. Run `build_exe.bat` (Use `Python 3.4.x`)
1. Run `build_exe.bat` (Use `Python >= 3.6`)
8. Create a new release
1. Target branch: `master`
2. Tag: `vx.x` (Example: `v0.1`)
Expand Down
Loading