mirror of
https://github.com/infeeeee/dyn2py
synced 2025-12-16 22:16:18 +01:00
Windows basic build setup
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,3 +2,5 @@
|
||||
example
|
||||
__pycache__
|
||||
dyn2py.egg-info
|
||||
build
|
||||
dist
|
||||
@@ -45,9 +45,6 @@ The script by default overwrites older files with newer files.
|
||||
Do not move the source Dynamo graphs, or update won't work with them later.
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
## Development
|
||||
|
||||
### Installation
|
||||
@@ -70,3 +67,9 @@ py -m venv .venv
|
||||
py -m pip install -e .
|
||||
```
|
||||
|
||||
Build:
|
||||
|
||||
```shell
|
||||
pip install -e .[build]
|
||||
pyinstaller dyn2py.spec
|
||||
```
|
||||
44
dyn2py.spec
Normal file
44
dyn2py.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['dyn2py\\__main__.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
noarchive=False,
|
||||
)
|
||||
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='dyn2py',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
)
|
||||
@@ -13,6 +13,11 @@ classifiers = []
|
||||
|
||||
dependencies = ["importlib_metadata", "pathvalidate", "simplejson"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
build = [
|
||||
"pyinstaller"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/infeeeee/dyn2py"
|
||||
documentation = "https://github.com/infeeeee/dyn2py"
|
||||
|
||||
Reference in New Issue
Block a user