Skip to content
Snippets Groups Projects
Commit e4db8825 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

improving the conda build situation

parent 07467694
No related branches found
No related tags found
No related merge requests found
......@@ -9,29 +9,17 @@ VERSION = open('_version.py').readlines()[-1].split()[-1].strip("\"'")
README = Path('README.md').read_text()
requires = [
'pika==1.1.0',
'pycapo==0.2.1post1',
'bs4==0.0.1',
'beautifulsoup4==4.9.1',
'lxml==4.3.2',
'psycopg2==2.8.5',
'pyinstaller==3.2',
'pyopenssl=19.1.0',
'tox==3.1.3',
'tox-pyenv==1.1.0'
'pika>=1.1,<2',
'pycapo>=0.3.0,<1.0',
'beautifulsoup4>=4.9.1,<5.0',
'lxml>=4.3.2,<5.0',
'psycopg2>=2.8.5,<3.0',
'pyopenssl>=19.1.0,<20.0',
'requests>=2.23,<3.0'
]
tests_require = [
'bs4==0.0.1',
'beautifulsoup4==4.9.1',
'psycopg2==2.8.5',
'pyopenssl=19.1.0',
'pyinstaller==3.2',
'pytest==5.4',
'pytest-runner==4.2',
'tox==3.1.3',
'tox-pyenv==1.1.0',
'pytest>=5.4,<6.0'
]
setup(
name=Path().absolute().name,
......@@ -42,7 +30,8 @@ setup(
author_email='dms-ssa@nrao.edu',
url='TBD',
license="GPL",
install_requires=['requests', 'pycapo'],
install_requires=requires,
tests_require=tests_require,
keywords=[],
packages=['datafetcher'],
package_dir={'':'src'},
......
......@@ -9,11 +9,11 @@ from pathlib import Path
from pycapo import CapoConfig
from src.datafetcher.errors import \
from datafetcher.errors import \
MissingSettingsException, NoProfileException
from src.datafetcher.locations_report import \
from datafetcher.locations_report import \
LocationsReport
from src.datafetcher.utilities import \
from datafetcher.utilities import \
REQUIRED_SETTINGS, get_arg_parser, \
ExecutionSite
......
......@@ -8,30 +8,38 @@ package:
build:
entry_points:
- datafetcher = datafetcher.commands:main
script: python setup.py install
script: {{ PYTHON }} setup.py install
source:
path: /Users/nhertz/data/apps/cli/executables/datafetcher
path: ../../../apps/cli/executables/datafetcher
requirements:
build:
- python==3.8
- pika>=1.1,<2
- pycapo>=0.3.0,<1.0
- beautifulsoup4>=4.9.1,<5.0
- lxml>=4.3.2,<5.0
- psycopg2>=2.8.5,<3.0
- pyopenssl>=19.1.0,<20.0
- requests>=2.23,<3.0
run:
- python
- pika==1.1.0
- pycapo
- bs4
- beautifulsoup4==4.9.1
- lxml==4.3.2
- psycopg2==2.8.5
- pyinstaller
- pyopenssl=19.1.0
- tox
- python==3.8
- pika>=1.1,<2
- pycapo>=0.3.0,<1.0
- beautifulsoup4>=4.9.1,<5.0
- lxml>=4.3.2,<5.0
- psycopg2>=2.8.5,<3.0
- pyopenssl>=19.1.0,<20.0
- requests>=2.23,<3.0
#test:
# requires:
# - pytest
# - pytest-runner
# commands:
# - pytest -x --showlocals
test:
source_files:
- test/
requires:
- pytest>=5.4,<6.0
commands:
- pytest -vv --log-level=DEBUG --showlocals test/datafetcher_test.py
about:
license: "GPL"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment