-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: Add conda packaging. Upgrade dev-cycle to c0020.001
- Loading branch information
Showing
7 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ cycle=c0014 | |
# | ||
# Development cycle to build | ||
# | ||
dev_cycle=c0018.001 | ||
dev_cycle=c0020.001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@Library('JenkinsShared')_ | ||
CondaPipeline([], "love-commander", "commander") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from .app import * | ||
from .commands import * | ||
from .efd import * | ||
from .heartbeats import * | ||
from .lovecsc import * | ||
from .salinfo import * | ||
from .tcs import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% set data= load_setup_py_data() %} | ||
package: | ||
name: love-commander | ||
version: {{ data.get('version') }} | ||
|
||
source: | ||
path: ../ | ||
|
||
build: | ||
script: python -m pip install --no-deps --ignore-installed . | ||
|
||
requirements: | ||
host: | ||
- python | ||
- pip | ||
- setuptools_scm | ||
- setuptools | ||
run: | ||
- python | ||
- setuptools | ||
- setuptools_scm | ||
- astroquery | ||
- ts-salobj | ||
- ts-idl | ||
- ts-observatory-control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[flake8] | ||
ignore=E133, E203, E226, E228, N802, N803, N806, N812, N813, N815, N816, W503 | ||
exclude=__init__.py | ||
max-line-length=110 | ||
|
||
[tool:pytest] | ||
addopts = --flake8 --black | ||
flake8-ignore = E133 E203 E226 E228 N802 N803 N806 N812 N813 N815 N816 W503 | ||
|
||
[metadata] | ||
version = attr: setuptools_scm.get_version | ||
|
||
[options] | ||
setup_requires=setuptools_scm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This install file works with `pip install .` | ||
# but not with `python setup.py install`. | ||
import glob | ||
import pathlib | ||
import setuptools | ||
import sys | ||
|
||
scm_version_template = """# Generated by setuptools_scm | ||
__all__ = ["__version__"] | ||
__version__ = "{version}" | ||
""" | ||
|
||
setuptools.setup( | ||
name="love-commander", | ||
description="LSST Operators Visualization Environment (LOVE) service to send SAL commands from http endpoints using salobj.", | ||
use_scm_version={ | ||
"write_to": "commander/version.py", | ||
"write_to_template": scm_version_template, | ||
}, | ||
py_modules=["commander"], | ||
license="GPL", | ||
project_url={ | ||
"Bug Tracker": "https://jira.lsstcorp.org/secure/Dashboard.jspa", | ||
"Source Code": "https://github.com/lsst-ts/LOVE-commander", | ||
}, | ||
) |