Skip to content
Snippets Groups Projects
Commit 1b7bb0e3 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

AT5-370: Created repository structure.

First release of the sub-element master device.
parent 522dfa3f
No related branches found
No related tags found
1 merge request!5Request to merge AT5-370 branch with master
Pipeline #11326 failed
# -*- coding: utf-8 -*-
#
# This file is part of the CentralNode project
#
#
#
# Distributed under the terms of the BSD-3-Clause license.
# See LICENSE.txt for more info.
"""Release information for Python Package"""
name = """csp-lmc-subelement"""
version = "0.1.0"
version_info = version.split(".")
description = """SKA CSP Sub-element LMC"""
author = "INAF-OAA"
author_email = "elisabetta.giani@inaf.it"
license = """BSD-3-Clause"""
url = """https://gitlab.com/ska-telescope/csp-lmc.git"""
copyright = """INAF, SKA Telescope"""
This diff is collapsed.
This diff is collapsed.
...@@ -7,7 +7,7 @@ test=pytest ...@@ -7,7 +7,7 @@ test=pytest
[coverage:run] [coverage:run]
branch = True branch = True
source = ska_python_skeleton source = cspse
[tool:pytest] [tool:pytest]
testpaths = tests testpaths = tests
......
...@@ -6,34 +6,36 @@ from setuptools import setup ...@@ -6,34 +6,36 @@ from setuptools import setup
with open('README.md') as readme_file: with open('README.md') as readme_file:
readme = readme_file.read() readme = readme_file.read()
RELEASE_FILENAME = os.path.join(setup_dir, 'cspse','lmc','release.py')
exec(open(RELEASE_FILENAME).read(), INFO)
setup( setup(
name='ska_python_skeleton', name=INFO['name']
version='0.0.0', version=INFO['version']
description="", description=INFO['description'],
long_description=readme + '\n\n', author=INFO['author'],
author="Your Name", author_email=INFO['author_email'],
author_email='your.email@mail.com', packages=find_packages(),
url='https://github.com/ska-telescope/ska-python-skeleton', license=INFO['license'],
packages=[ url=INFO['url'],
'ska_python_skeleton', long_description=long_description,
], keywords="csp lmc ska tango",
package_dir={'ska_python_skeleton':
'ska_python_skeleton'},
include_package_data=True, include_package_data=True,
license="BSD license", license="BSD license",
zip_safe=False, zip_safe=False,
classifiers=[ classifiers=[
'Development Status :: 2 - Pre-Alpha', 'Development Status :: 3 - Alpha',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', 'Operating System :: POSIX :: Linux',
'License :: Other/Proprietary License',
'Natural Language :: English', 'Natural Language :: English',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
], ],
test_suite='tests', test_suite='tests',
install_requires=[], # FIXME: add your package's dependencies to this list install_requires=[
'pytango >=9.3.1',
'future',
'lmcbaseclasses > 0.5.0',
],
setup_requires=[ setup_requires=[
# dependency for `python setup.py test` # dependency for `python setup.py test`
'pytest-runner', 'pytest-runner',
...@@ -46,6 +48,7 @@ setup( ...@@ -46,6 +48,7 @@ setup(
'pytest-cov', 'pytest-cov',
'pytest-json-report', 'pytest-json-report',
'pycodestyle', 'pycodestyle',
'mock'
], ],
extras_require={ extras_require={
'dev': ['prospector[with_pyroma]', 'yapf', 'isort'], 'dev': ['prospector[with_pyroma]', 'yapf', 'isort'],
......
# -*- coding: utf-8 -*-
"""Module init code."""
__version__ = '0.0.0'
__author__ = 'Your Name'
__email__ = 'your.email@mail.com'
# -*- coding: utf-8 -*-
#"""Define function placeholders and test function examples."""
# TODO: Replace all the following code with the desired functionality for the package
def function_example():
"""Example: function outside of a class"""
# TODO: Replace all the following code with the desired functionality for the package
class SKA:
"""Define class, methods etc"""
something = 0
def example(self):
"""Example: Define non return function for subsequent test."""
def example_2(self):
"""Example: Define function for subsequent test with specific return value."""
return 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment