Code Monkey home page Code Monkey logo

Comments (7)

willrogers avatar willrogers commented on August 21, 2024

The ideal situation would be that you could pip install pyat from any machine. There are a number of complications with this:

  • the names pyat, atpy and python-at are all taken in pypi. at-python is available
  • you can install numpy from wheels, but scipy is not available as a wheel for Windows. The only need for scipy is to load a lattice from a Matlab file, but this is the primary way we load lattices at present
  • building wheels for multiple Linux systems is also a bit tricky. This project uses Docker to enable building the necessary wheels. Numpy uses this approach
    • you can fairly easily build from source on Linux and Mac, but it's not clear to me what the user would need installed to allow this

Building all the wheels to make a release is sounding like a bit of a job.

from at.

willrogers avatar willrogers commented on August 21, 2024

I guess what we should do is upload wheels for Windows and rely on compiling on installation for Linux and Mac. That still leaves the problem of Scipy on Windows, but I don't see a simple way out of that one.

from at.

willrogers avatar willrogers commented on August 21, 2024

We could use cibuildwheel to build the wheels on Appveyor and Travis CI, then publish them to Github Releases. We could then manually upload them to PyPI.

from at.

willrogers avatar willrogers commented on August 21, 2024

Windows users may be able to install numpy and scipy via the packages here: http://www.lfd.uci.edu/~gohlke/pythonlibs/

from at.

smartsammler avatar smartsammler commented on August 21, 2024

Good news.
SciPy 1.0 has got wheels for Windows, too, see https://pypi.org/project/scipy/#files
Though I can't test them the problem with Windows might be solved if one picks SciPy 1.0 which should be ok, since it's only used for io.loadmat.

from at.

willrogers avatar willrogers commented on August 21, 2024

Good news, thanks for the tip.

from at.

willrogers avatar willrogers commented on August 21, 2024

We now have packages on PyPI under the name accelerator-toolbox: https://pypi.org/project/accelerator-toolbox/

from at.

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.