Comments (7)
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
andpython-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.
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.
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.
Windows users may be able to install numpy and scipy via the packages here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
from at.
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.
Good news, thanks for the tip.
from at.
We now have packages on PyPI under the name accelerator-toolbox
: https://pypi.org/project/accelerator-toolbox/
from at.
Related Issues (20)
- pyAT Distinguish between a sector bending magnet and a rectangular bending magnet HOT 2
- Reduce behaves differently in Matlab and python
- B0 added twice in exactkickrad HOT 2
- python: ringparam not well identified by lattice_load HOT 6
- bug is saving lattice HOT 4
- Bug: atwiggler HOT 13
- problem with display of correctly initialised VariableMultipole element HOT 1
- Change Legend Labels for plot_trajectory() function HOT 12
- fast_ring when having harmonic cavities in the lattice HOT 4
- AT_2_Elegant uses deprecated N_KICKS
- Factor 4 missing in Touschek scattering B2 expression HOT 5
- pyAT Error when calculating damping ring HOT 3
- Rotation of dipoles HOT 18
- matlab atlinopt4 check on 6d is disabled
- Severe bug introduced by #766 HOT 2
- Bug in Lattice.avlinopt HOT 7
- ring.get_lifetime fails if list of reference indexes has only one valid element HOT 2
- Compilation error when building from repository HOT 27
- VariableMultipole Usage HOT 7
- Inherited fields don't exist unless first explictly set HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from at.