This commit is contained in:
Erik Frojdh 2020-02-11 18:22:28 +01:00
parent 041c9fefa0
commit 73a39fcafe
3 changed files with 21 additions and 30 deletions

View File

@ -47,5 +47,5 @@ deploy:
provider: script
script: find $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
on:
branch: developer
branch: udp

View File

@ -1,7 +1,7 @@
package:
name: sls_detector_software
version: "developer"
version: "udp"
source:
- path: ..
@ -51,38 +51,33 @@ requirements:
outputs:
- name: sls_detector_lib
- name: slslib
script: copy_lib.sh
- name: sls_detector
requirements:
run:
- libstdcxx-ng
- libgcc-ng
- pyzmq
- name: slsdet
script: build_pylib.sh
requirements:
build:
- {{ compiler('c') }}
- {{compiler('cxx')}}
- python {{ python }}
- setuptools
- sls_detector_lib
- pyzmq
# - pybind11 2.4
host:
- python
# - pybind11 2.4
- pyzmq
- sls_detector_lib
- libstdcxx-ng
- libgcc-ng
- wheel
run:
- python
- python {{ python }}
- numpy
- sls_detector_lib=developer
- pyzmq
- libstdcxx-ng
- libgcc-ng
# test:
# imports:
# - sls_detector
- slslib=developer
test:
imports:
- sls_detector
# requirements:
# build:

View File

@ -117,18 +117,14 @@ def get_shared_lib():
return [f for f in os.listdir('.') if '_sls_detector' in f]
setup(
name='sls_detector',
name='slsdetector',
version=__version__,
author='Erik Frojdh',
author_email='erik.frojdh@psi.ch',
url='https://github.com/slsdetectorgroup/sls_detector',
description='Detector API for SLS Detector Group detectors',
long_description='',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# ext_modules=ext_modules,
packages=['sls_detector'],
data_files = [('', get_shared_lib())],
# package_data={'sls_detector': ['../build/bin/_sls_detector.cpython-38-x86_64-linux-gnu.so']},
# install_requires=['pybind11>=2.2'],
# cmdclass={'build_ext': BuildExt},
zip_safe=False,
)