mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
WIP
This commit is contained in:
parent
041c9fefa0
commit
73a39fcafe
@ -47,5 +47,5 @@ deploy:
|
|||||||
provider: script
|
provider: script
|
||||||
script: find $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
|
script: find $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
|
||||||
on:
|
on:
|
||||||
branch: developer
|
branch: udp
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
package:
|
package:
|
||||||
name: sls_detector_software
|
name: sls_detector_software
|
||||||
version: "developer"
|
version: "udp"
|
||||||
|
|
||||||
source:
|
source:
|
||||||
- path: ..
|
- path: ..
|
||||||
@ -51,38 +51,33 @@ requirements:
|
|||||||
|
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
- name: sls_detector_lib
|
- name: slslib
|
||||||
script: copy_lib.sh
|
script: copy_lib.sh
|
||||||
|
|
||||||
- name: sls_detector
|
requirements:
|
||||||
|
run:
|
||||||
|
- libstdcxx-ng
|
||||||
|
- libgcc-ng
|
||||||
|
- pyzmq
|
||||||
|
|
||||||
|
- name: slsdet
|
||||||
script: build_pylib.sh
|
script: build_pylib.sh
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
- {{ compiler('c') }}
|
|
||||||
- {{compiler('cxx')}}
|
|
||||||
- python {{ python }}
|
- python {{ python }}
|
||||||
- setuptools
|
- setuptools
|
||||||
- sls_detector_lib
|
- wheel
|
||||||
- pyzmq
|
|
||||||
# - pybind11 2.4
|
|
||||||
host:
|
|
||||||
- python
|
|
||||||
# - pybind11 2.4
|
|
||||||
- pyzmq
|
|
||||||
- sls_detector_lib
|
|
||||||
- libstdcxx-ng
|
|
||||||
- libgcc-ng
|
|
||||||
run:
|
run:
|
||||||
- python
|
- python {{ python }}
|
||||||
- numpy
|
- numpy
|
||||||
- sls_detector_lib=developer
|
- slslib=developer
|
||||||
- pyzmq
|
|
||||||
- libstdcxx-ng
|
|
||||||
- libgcc-ng
|
test:
|
||||||
# test:
|
imports:
|
||||||
# imports:
|
- sls_detector
|
||||||
# - sls_detector
|
|
||||||
|
|
||||||
# requirements:
|
# requirements:
|
||||||
# build:
|
# build:
|
||||||
|
@ -117,18 +117,14 @@ def get_shared_lib():
|
|||||||
return [f for f in os.listdir('.') if '_sls_detector' in f]
|
return [f for f in os.listdir('.') if '_sls_detector' in f]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sls_detector',
|
name='slsdetector',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
author='Erik Frojdh',
|
author='Erik Frojdh',
|
||||||
author_email='erik.frojdh@psi.ch',
|
author_email='erik.frojdh@psi.ch',
|
||||||
url='https://github.com/slsdetectorgroup/sls_detector',
|
url='https://github.com/slsdetectorgroup/sls_detector',
|
||||||
description='Detector API for SLS Detector Group detectors',
|
description='Detector API for SLS Detector Group detectors',
|
||||||
long_description='',
|
long_description='',
|
||||||
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
packages=['sls_detector'],
|
||||||
# ext_modules=ext_modules,
|
|
||||||
data_files = [('', get_shared_lib())],
|
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,
|
zip_safe=False,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user