Skip to content

Commit

Permalink
ODI-3720 Update version to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pius- committed Sep 10, 2019
1 parent b6f6fed commit db28724
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 15 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ exclude .coverage
exclude .coveragerc
exclude .travis.yml
include VERSION
include RELEASE
include LICENSE
include README.md
include setup.cfg
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ PROJECT=plugnpy
# Project version
VERSION=$(shell cat VERSION)

# Project release number (packaging build number)
RELEASE=$(shell cat RELEASE)

# Name of RPM or DEB package
PKGNAME=${VENDOR}-${PROJECT}

Expand Down Expand Up @@ -71,9 +68,7 @@ all: help
# Set the version from VERSION file
version:
sed -i "s/version:.*$$/version: $(VERSION)/" conda/meta.yaml
sed -i "s/number:.*$$/number: $(RELEASE)/" conda/meta.yaml
sed -i "s/__version__.*$$/__version__ = '$(VERSION)'/" plugnpy/__init__.py
sed -i "s/__release__.*$$/__release__ = '$(RELEASE)'/" plugnpy/__init__.py

# Build minimal Conda environment
conda:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ or
make wheel
```

This will create a `plugnpy-VERSION.RELEASE.tar.gz` file in the `dist` directory which can be installed in the same way as the prepackaged one above.
This will create a `plugnpy-VERSION.tar.gz` file in the `dist` directory which can be installed in the same way as the prepackaged one above.


## Writing Checks
Expand Down
1 change: 0 additions & 1 deletion RELEASE

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: plugnpy
version: 2.0.0
version: 2.0.1

source:
path: ..
Expand Down
3 changes: 1 addition & 2 deletions plugnpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""plugnpy - A Simple Python Library for creating Opsview Opspack plugins"""

__version__ = '2.0.0'
__release__ = '1'
__version__ = '2.0.1'
__program_name__ = 'plugnpy'

from .check import Check
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from subprocess import call
from setuptools import Command, find_packages, setup
from plugnpy import __version__ as VERSION
from plugnpy import __release__ as RELEASE


def read(fname):
Expand Down Expand Up @@ -39,7 +38,7 @@ def run(self):

setup(
name='plugnpy',
version=VERSION + '.' + RELEASE,
version=VERSION,
description='A Simple Python Library for creating Opsview Opspack plugins',
long_description=read('README.md'),
url='https://github.com/opsview/plugnpy',
Expand All @@ -57,7 +56,7 @@ def run(self):
keywords='plugnpy',
packages=['plugnpy'],
data_files=[
('info', ['VERSION', 'RELEASE', 'LICENSE', 'README.md'])
('info', ['VERSION', 'LICENSE', 'README.md'])
],
install_requires=[],
extras_require={
Expand Down

0 comments on commit db28724

Please sign in to comment.