Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import setuptools for successful pip install #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

spmeisburger
Copy link

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/[email protected]

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