Verified Commit aca945ac authored by Jan Koppe's avatar Jan Koppe
Browse files

test, lint, makefile

parent 580f600b
# Copyright 2017 The WWU eLectures Team All rights reserved.
#
# Licensed under the Educational Community License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://opensource.org/licenses/ECL-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
all: lint test
lint:
python setup.py lint
test:
python setup.py test
dist:
python setup.py bdist_wheel
release:
twine upload dist/*
.PHONY: lint test dist release
\ No newline at end of file
0.0.1.dev2
\ No newline at end of file
0.0.1.dev3
\ No newline at end of file
# Copyright 2017 The WWU eLectures Team All rights reserved.
#
# Licensed under the Educational Community License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://opensource.org/licenses/ECL-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[aliases]
lint=flake8
# Copyright 2017 The WWU eLectures Team All rights reserved.
#
# Licensed under the Educational Community License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://opensource.org/licenses/ECL-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup
from codecs import open
from os import path
......@@ -15,7 +30,7 @@ setup(
version=__version__,
description='A Python client for the Opencast external API',
long_description=long_description,
url='https://zivgitlab.uni-muenster.de/electures/contrib/python-opencast-externalapi',
url='https://zivgitlab.uni-muenster.de/electures/contrib/python-opencast-externalapi', # noqa: E501
author='University of Münster, eLectures team',
author_email='electures.dev@uni-muenster.de',
......@@ -29,5 +44,7 @@ setup(
],
keywords='api client development opencast externalapi',
packages=['opencast-externalapi'],
install_requires=['requests']
install_requires=['requests'],
test_suite='nose.collector',
tests_require=['nose', 'flake8'],
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment