GithubHelp home page GithubHelp logo

wanweiwei07 / pyopcode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from korijn/pyopcode

0.0 0.0 0.0 281 KB

Numpy bindings for opcode collision detection library

C++ 35.94% Python 61.00% Dockerfile 3.05%

pyopcode's Introduction

PyPI Anaconda Travis

pyopcode

The one and only. To get started with development:

  • Download a boost tarball and unpack into repo root, so you have a folder 'boost_1_67_0' in the root.
  • Run pipenv install --dev.
  • Run pipenv run python build_boost.py.
  • Run pipenv run python setup.py build_ext -if, and repeat this call whenever you change something in api.cpp.

Housekeeping:

  • Run pipenv run flake8
  • Run PYTHONPATH=. pipenv run pytest

Distribution:

  • Run pipenv run python setup.py bdist_wheel

Windows Caveats

  • Pipfile.lock was generated on Linux, so make sure to additionally pass --skip-lock to the pipenv install command.
  • Pipenv doesn't copy over the libs folder from the root env to the virtualenv. Do this manually after running the pipenv install command.
  • Make sure to have VS2017 build tools installed!

manylinux1

To get the manylinux1 stamp of approval, build using the provided Dockerfile.

  • Run docker build . -t pyopcode
  • Run docker run --rm pyopcode cat /io/dist/repaired/pyopcode-0.3.5-cp36-cp36m-manylinux1_x86_64.whl > dist/pyopcode-0.3.5-cp36-cp36m-manylinux1_x86_64.whl

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.