From aef01e3efa5194edc8e57058451802390aeb7521 Mon Sep 17 00:00:00 2001 From: Douglas Brion Date: Fri, 22 May 2020 17:29:21 +0100 Subject: [PATCH] Minor changes ready for bump to 0.4 --- .circleci/config.yml | 61 -------------------------------------------- README.rst | 6 ----- setup.py | 6 ++--- 3 files changed, 3 insertions(+), 70 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 4b1749c..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,61 +0,0 @@ -# Python CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-python/ for more details -# -version: 2 -jobs: - build: - docker: - # specify the version you desire here - - image: circleci/python:3.6.7 - environment: # environment variables for primary container - OCTOPRINT_URL: http://localhost:5000 - OCTOPRINT_APIKEY: apikey - - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 - - working_directory: ~/OctoRest - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "requirements.txt" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: - name: install dependencies - command: | - python3 -m venv venv - . venv/bin/activate - pip install -r requirements.txt - - - save_cache: - paths: - - ./venv - key: v1-dependencies-{{ checksum "requirements.txt" }} - - - run: - name: run octoprint - command: | - . venv/bin/activate - octoprint serve --port 5000 - background: true - - # run tests! - - run: - name: run tests - command: | - . venv/bin/activate - sleep 10 - pytest - - - store_artifacts: - path: test-reports - destination: test-reports diff --git a/README.rst b/README.rst index 66139e7..4709539 100644 --- a/README.rst +++ b/README.rst @@ -2,12 +2,6 @@ OctoRest =========================== -.. |CircleCI| image:: https://circleci.com/gh/dougbrion/OctoRest.svg?style=svg - :target: https://circleci.com/gh/dougbrion/OctoRest - -.. |License MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg - :target: https://opensource.org/licenses/MIT - Python client library for OctoPrint REST API This is continued work after the great start by Miro HronĨok of covering the diff --git a/setup.py b/setup.py index fb91110..8b14d47 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='octorest', - version='0.3', + version='0.4', description='Client library for OctoPrint REST API', long_description=''.join(open('README.rst', encoding='utf-8').readlines()), long_description_content_type='text/x-rst', @@ -17,7 +17,7 @@ setup_requires=['pytest-runner'], tests_require=['pytest', 'betamax-serializers', 'betamax'], classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Alpha', 'Intended Audience :: Developers', 'Intended Audience :: Manufacturing', 'Intended Audience :: Science/Research', @@ -36,5 +36,5 @@ 'Topic :: Printing', 'Topic :: Software Development :: Libraries', 'Topic :: System :: Networking :: Monitoring', - ] + ] )