Giter Site home page Giter Site logo

Docker build about bito HOT 2 CLOSED

phylovi avatar phylovi commented on August 16, 2024
Docker build

from bito.

Comments (2)

matsen avatar matsen commented on August 16, 2024

Tried for a few minutes to get a better setuptools-type install.

Here we are:

import setuptools

setuptools.setup(
    name='sbn',
    version=0.0,
    packages=['sbn'],
    package_dir={'sbn': '.'},
    package_data={'sbn': ['sbn.cpython-37m-x86_64-linux-gnu.so']},
)

But probably best to do a full setuptools install.

from bito.

matsen avatar matsen commented on August 16, 2024

At one point I thought I was going to need to use something like this

for s in run_command(Commands.INFO)[0].split('\n'):
    match = re.search('.*active env location : (.*)', s)
    if match:
        break
if not match:
    sys.exit("Could not find active env location.")
conda_env_dir = match.group(1)
conda_base_dir = re.search('(.*)/envs/.*', conda_env_dir).group(1)

 def find_conda_pkg_dir_containing(glob_str):
    for possible_location in [conda_base_dir, conda_env_dir]:
        g = glob.glob(possible_location+glob_str)
        if g:
            return g[0]
    sys.exit("I can't find the package directory containing "+glob_str)


 env.Append(LIBPATH = " "+find_conda_pkg_dir_containing("/pkgs/flex*/lib"))

from bito.

Related Issues (20)

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.