Если я создал приложение с использованием пакета Pynsist, а затем после установки этого приложения, у меня будет пакет numpy в папке pkg пути приложения, как я упоминал в installer.cfg
.Но в пакетах сайта Python 2.7 не будет никакого numpy (установленного из-за установщика python, загруженного встроенным приложением NSIS.
Так как бы Python узнал, есть ли в компьютере numy или нет?Другими словами, как пакет numpy в папке приложения будет связывать себя с папкой Python lib / site-package? Нужно ли нам копировать эту папку в расположение пакета сайта или я что-то упустил?
Ниже приведен код installer.cfg
[Application]
name=FaceLock
version=1.0
# How to launch the app - this calls the 'main' function from the 'myapp' package:
entry_point=openApplication:self
[Python]
version=2.7.14
[Include]
# Packages from PyPI that your application requires, one per line
# These must have wheels on PyPI:
pypi_wheels=opencv-contrib-python==3.4.1.15
numpy==1.14.0
# To bundle packages which don't publish wheels, see the docs on the
# config file.
packages=cv2
PIL
Tkinter
glob
# Other files and folders that should be installed
files=detector.py
dataSetGenerator.py
trainData.py
storeDictionary.py
CheckFace.py
CheckFace.py
Classifiers/
trainer/
Trying/