mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-02 18:58:27 +02:00
game's version is now in definition.py
This commit is contained in:
parent
e410cc990a
commit
3e56c029ca
2 changed files with 6 additions and 1 deletions
6
setup.py
6
setup.py
|
@ -1,5 +1,6 @@
|
|||
from cx_Freeze import setup, Executable
|
||||
import sys
|
||||
import json
|
||||
|
||||
include_files = [
|
||||
"./icon.ico",
|
||||
|
@ -53,10 +54,13 @@ options = {
|
|||
}
|
||||
}
|
||||
|
||||
with open("./version") as f:
|
||||
version = json.load(f)
|
||||
|
||||
setup(
|
||||
options=options,
|
||||
name='MKWF-Install',
|
||||
version='0.3',
|
||||
version=version["version"],
|
||||
url='https://github.com/Faraphel/MKWF-Install',
|
||||
license='Apache-2.0',
|
||||
author='Faraphel',
|
||||
|
|
|
@ -3,6 +3,7 @@ get_nodir = lambda file: file.split("/")[-1].split("\\")[-1]
|
|||
get_extension = lambda file: file.split(".")[-1]
|
||||
|
||||
CREATE_NO_WINDOW = 0x08000000
|
||||
VERSION = "0.7"
|
||||
|
||||
def filecopy(src, dst):
|
||||
with open(src, "rb") as f1:
|
||||
|
|
Loading…
Reference in a new issue