Skip to content

import setuptools for successful pip install#7

Open
spmeisburger wants to merge 2 commits into
jbhopkins:masterfrom
FlexXBeamline:pip-install
Open

import setuptools for successful pip install#7
spmeisburger wants to merge 2 commits into
jbhopkins:masterfrom
FlexXBeamline:pip-install

Conversation

@spmeisburger

Copy link
Copy Markdown

Install using conda and pip didn't work for me -- it failed to install the sub-package bioxtasraw.denss_resources. To fix it, I modified setup.py to use setuptools.find_packages. The goal here is to enable a one-line linux install like this:

micromamba create -f raw_env.yaml

With raw_env.yaml as follows:

name: raw-2-2-2
channels:
  - conda-forge
dependencies:
  - python >=3.9,<3.10
  - numpy
  - scipy
  - matplotlib
  - pillow
  - numba
  - h5py
  - cython
  - reportlab
  - wxpython
  - dbus-python
  - fabio
  - pyfai
  - hdf5plugin
  - mmcif_pdbx
  - svglib
  - pip:
    - git+https://github.com/jbhopkins/bioxtasraw.git@v2.2.2

Try adding find_packages() to setup.py
switch to setuptools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant