DEV: modified setup to use setup tools

This commit is contained in:
Christian Fernandez 2020-05-25 19:44:26 +02:00
parent 5f2ecbfc26
commit 3f65d52466
5 changed files with 13 additions and 15 deletions

5
.gitignore vendored
View File

@ -1,2 +1,7 @@
*.pyc
*.csv
# dir
.idea/
conda-bld/
*.egg-info/

View File

@ -1,3 +0,0 @@
numpy
scipy

View File

@ -1,8 +0,0 @@
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements.txt requirements.in
#
numpy==1.16.1
scipy==1.2.1

View File

@ -1,14 +1,13 @@
from distutils.core import setup
from setuptools import setup
setup(
name="brukeropusreader",
version="1.3.4",
use_scm_version=True,
description="Bruker OPUS File Reader",
author="QED",
author_email="brukeropusreader-dev@qed.ai",
packages=["brukeropusreader"],
install_requires=["numpy>=1.13.3", "scipy>=0.19.1"],
# install_requires=["numpy>=1.13.3", "scipy>=0.19.1"],
license="GPLv3",
url="https://github.com/qedsoftware/brukeropusreader",
)

5
tests/test_import.py Normal file
View File

@ -0,0 +1,5 @@
def test_import():
import brukeropusreader as bor
l = dir(bor)
assert 'opus_reader' in l