mirror of
https://github.com/shizand/statapp.git
synced 2025-10-08 13:10:19 +03:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
83d9faeb85 | ||
57dec07000 | |||
|
cca57740a2 | ||
b6e10c4209 |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.3.4](https://github.com/shizand/statapp/compare/v0.3.3...v0.3.4) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Исправления
|
||||||
|
|
||||||
|
* исправлена ошибка, при СКО = 0 для фактора ([57dec07](https://github.com/shizand/statapp/commit/57dec07000e78d694986b1b90de42b84db14c1a7))
|
||||||
|
|
||||||
|
## [0.3.3](https://github.com/shizand/statapp/compare/v0.3.2...v0.3.3) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Исправления
|
||||||
|
|
||||||
|
* удалена упаковка системных библиотек вместе с программой (Linux) ([b6e10c4](https://github.com/shizand/statapp/commit/b6e10c420958cf554c1953f30c4cfd9dcadebd1a))
|
||||||
|
|
||||||
## [0.3.2](https://github.com/shizand/statapp/compare/v0.3.1...v0.3.2) (2023-09-28)
|
## [0.3.2](https://github.com/shizand/statapp/compare/v0.3.1...v0.3.2) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "statapp"
|
name = "statapp"
|
||||||
version = "0.3.2"
|
version = "0.3.4"
|
||||||
description = ""
|
description = ""
|
||||||
authors = [
|
authors = [
|
||||||
"Maxim Slipenko <statapp@maks1ms.addy.io>"
|
"Maxim Slipenko <statapp@maks1ms.addy.io>"
|
||||||
|
@@ -1,4 +1,15 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
import sys
|
||||||
|
import typing
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
if typing.TYPE_CHECKING:
|
||||||
|
from PyInstaller.building.api import COLLECT, EXE, MERGE, PYZ # noqa: F401
|
||||||
|
from PyInstaller.building.build_main import Analysis # noqa: F401
|
||||||
|
from PyInstaller.building.datastruct import TOC, Target, Tree # noqa: F401
|
||||||
|
from PyInstaller.building.osx import BUNDLE # noqa: F401
|
||||||
|
from PyInstaller.building.splash import Splash # noqa: F401
|
||||||
|
|
||||||
from PyInstaller.utils.hooks import copy_metadata
|
from PyInstaller.utils.hooks import copy_metadata
|
||||||
|
|
||||||
datas = [('statapp/images/sticker.gif', 'images')]
|
datas = [('statapp/images/sticker.gif', 'images')]
|
||||||
@@ -16,6 +27,13 @@ a = Analysis(
|
|||||||
excludes=[],
|
excludes=[],
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
prev_binaries = set(a.binaries)
|
||||||
|
if sys.platform in ('linux', 'darwin'):
|
||||||
|
a.exclude_system_libraries(list_of_exceptions=[]) # glob expression
|
||||||
|
print('\n\nSTRIPPED SYSTEM LIBS')
|
||||||
|
pprint(sorted(set(prev_binaries) - set(a.binaries)))
|
||||||
|
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
exe = EXE(
|
exe = EXE(
|
||||||
|
18
statapp.spec
18
statapp.spec
@@ -1,4 +1,15 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
import sys
|
||||||
|
import typing
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
if typing.TYPE_CHECKING:
|
||||||
|
from PyInstaller.building.api import COLLECT, EXE, MERGE, PYZ # noqa: F401
|
||||||
|
from PyInstaller.building.build_main import Analysis # noqa: F401
|
||||||
|
from PyInstaller.building.datastruct import TOC, Target, Tree # noqa: F401
|
||||||
|
from PyInstaller.building.osx import BUNDLE # noqa: F401
|
||||||
|
from PyInstaller.building.splash import Splash # noqa: F401
|
||||||
|
|
||||||
from PyInstaller.utils.hooks import copy_metadata
|
from PyInstaller.utils.hooks import copy_metadata
|
||||||
|
|
||||||
datas = [('statapp/images/sticker.gif', 'images')]
|
datas = [('statapp/images/sticker.gif', 'images')]
|
||||||
@@ -17,6 +28,13 @@ a = Analysis(
|
|||||||
excludes=[],
|
excludes=[],
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
prev_binaries = set(a.binaries)
|
||||||
|
if sys.platform in ('linux', 'darwin'):
|
||||||
|
a.exclude_system_libraries(list_of_exceptions=[]) # glob expression
|
||||||
|
print('\n\nSTRIPPED SYSTEM LIBS')
|
||||||
|
pprint(sorted(set(prev_binaries) - set(a.binaries)))
|
||||||
|
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
exe = EXE(
|
exe = EXE(
|
||||||
|
@@ -88,6 +88,8 @@ class MainWindow(QMainWindow):
|
|||||||
k = 2 - 1 / k
|
k = 2 - 1 / k
|
||||||
if gfw.typeConnection == INDIRECT_LINK:
|
if gfw.typeConnection == INDIRECT_LINK:
|
||||||
k = 1 / k
|
k = 1 / k
|
||||||
|
if gfw.deviation == 0:
|
||||||
|
k = 1
|
||||||
|
|
||||||
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
||||||
x_arr = np.append(x_arr, x)
|
x_arr = np.append(x_arr, x)
|
||||||
|
Reference in New Issue
Block a user