AdvancedPhotonSource / xdesign

Tools for designing x-ray phantoms and experiments.
https://xdesign.readthedocs.io
Other
24 stars 16 forks source link

Pip installation #76

Closed smajee closed 3 years ago

smajee commented 3 years ago

Is there a plan to have a pip-installable release for this package? The readme specifies only the conda installation.

carterbox commented 3 years ago

Hi Soumenu, Xdesign is a pure-python package, so installing from source should be trivial. You can download the source files and install using pip install . from the source directory.

smajee commented 3 years ago

Thanks. My intention was to ask whether there is a plan to upload this to PyPi so that users can do pip install xdesign to install it.

The reason I asked is that I wanted to add xdesign as a dependency in another repository in a requirements.txt file so that a user can install the dependencies via pip install -r requirements.txt. In the absence of a PyPi version, I will probably add a conda environment.yml file or use the GitHub link of xdesign in the requirements.txt file.

carterbox commented 3 years ago

Understood! I don't have any plans to upload to PyPi. I've actually never done that before, so I don't know how to start.

dgursoy commented 3 years ago

I've just uploaded it to PyPI. You should be able to get it through pip install xdesign now.

smajee commented 3 years ago

Thank you so much Doga!