vmware-archive / pop-build Goto Github PK
View Code? Open in Web Editor NEWUsed to create single binaries of POP and Python projects
License: Apache License 2.0
Used to create single binaries of POP and Python projects
License: Apache License 2.0
This issue is created to track the work to migrate salt-bin to pop-build. Investigation will need to be done to see if its better to entirely migrate salt-bin into pop-build or just make it a wrapper.
We should have the option to omit files by glob so that configs for specific platforms can remove any files that are just not needed
Feature request:
pop-build clean
pop-build clean since that would follow traditional work-flows, e.g. make clean
This effectively performs rm -fR build dist
pop-build is making use of feature introduced with Py 3.7, namely 'capture_output'.
In order to build on RHEL 7 and REHL 8 which both use Py 3.6, this needs to be changed as follows:
popbuild/popbuild/venv.py
opts = hub.popbuild.BUILDS[bname]
## root = subprocess.run('pyenv root', shell=True, capture_output=True).stdout.strip().decode()
root = subprocess.run('pyenv root', shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).stdout.strip().decode()
avail = set()
## for line in subprocess.run('pyenv versions', shell=True, capture_output=True).stdout.strip().decode().split('\n'):
for line in subprocess.run('pyenv versions', shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).stdout.strip().decode().split('\n'):
avail.add(line.strip())
Right now the pypi libs are all from pypi, we want to allow them to be pulled from a local source, already downloaded, or from dep packages.
hey! I installed pop-build from pypi and the python executable it installs under /usr/bin/pop-build isnt working
# install pop-build python3 package
[root@e435611070e9 salt-bin]# python3 -m pip install pop-build
# test pop-build
[root@e435611070e9 salt-bin]# /usr/local/bin/pop-build
Traceback (most recent call last):
File "/usr/local/bin/pop-build", line 5, in <module>
from popbuild.scripts import start
ModuleNotFoundError: No module named 'popbuild'
I do see a file scripts is under /usr/local/lib/python3.6/site-packages/pop/scripts.py but this doesnt have a start function defined
[root@e435611070e9 salt-bin]# more /usr/local/lib/python3.6/site-packages/pop/scripts.py | grep "^def"
def pop_seed():
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.