Code Monkey home page Code Monkey logo

pop-build's People

Contributors

cro avatar thatch45 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pop-build's Issues

Migrate salt-bin to pop-build

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.

Add file omit option

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

pop-build is using Py3.7 options, RHEL 7 or 8 ar Py 3.6 hence fails

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())

pop-build - issue on centos6

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():

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.