diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh new file mode 100644 index 0000000..d7a34f9 --- /dev/null +++ b/conda-recipe/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +$PYTHON setup.py install # Python command to install the script diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 4a68149..3f7f405 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,6 +1,9 @@ package: name: cadump - version: 0.0.1 + version: 0.0.2 + +source: + path: .. build: entry_points: diff --git a/setup.py b/setup.py index 62d151a..800aafc 100644 --- a/setup.py +++ b/setup.py @@ -1,25 +1,10 @@ -import os -from setuptools import setup, find_packages - - -# Utility function to read the README file. -# Used for the long_description. It's nice, because now 1) we have a top level -# README file and 2) it's easier to type in the README file than to put a raw -# string in below ... -def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() - +from setuptools import setup setup( name="cadump", - version="0.0.1", + version="0.0.2", author="Paul Scherrer Institute", author_email="daq@psi.ch", - description=("Interface to dump data from archiver/databuffer"), - license="GPLv3", - keywords="", - url="", - packages=find_packages(), - long_description=read('Readme.md'), - + description="Interface to dump data from archiver/databuffer", + packages=["cadump"] ) \ No newline at end of file