(Aug-11-2017, 11:04 AM)buran Wrote: My idea is to provided python interpreter in bundled form thus not requiring user to download and install it
I see,not tried that option with pynsist.
Anaconda is doing a lot of cool stuff and can provided python interpreter in bundled form.
There installer
conda(same as pip) can create shared python environment.
So just copy that folder to an other computer and it work.
Don't have to download full Anaconda,can download
Miniconda(wich has conda installer).
So a demo.
I want a python version with Beautifulsoup,Requests and lxml that can be
shared environment.
I make a
environment.yml
file.
name: web_title
dependencies:
- beautifulsoup4
- requests
- lxml
Making the environment.
G:\mini_conda36\Scripts
λ conda env create -f environment.yml
Fetching package metadata ...........
Solving package specifications: .
vs2015_runtime 100% |###############################| Time: 0:00:00 2.34 MB/s
python-3.6.2-0 100% |###############################| Time: 0:00:11 2.90 MB/s
beautifulsoup4 100% |###############################| Time: 0:00:00 2.87 MB/s
lxml-3.8.0-py3 100% |###############################| Time: 0:00:00 2.93 MB/s
requests-2.14. 100% |###############################| Time: 0:00:00 2.97 MB/s
#
# To activate this environment, use:
# > activate web_title
So no can i copy
web_title
folder to an other computer.
Don't have to active environment just using that Python version and it work.
λ python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 12:30:02) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>>
There new
Conda-Forge is also cool.