Skip to content

Commit

Permalink
RC - Release candidate 1.4.0rc1
Browse files Browse the repository at this point in the history
- moved to semantic versioning, e.g. `major`.`minor`.`patch`;
- added `rc1` suffix for release candidate;
- added `extras_require` entry to `setup.py`; and
- deleted redundant `sonar-project.properties`.

The `extras_require` entry allows `testing` and `setup` packges to be
installed, for example `pip install -e .[testing]` will install fido with
its `tests_require` packages also. `pip install -e .[setup]` installs the
`setup_requires` packages. `pip install -e .[testing,setup]` works as you'd
hope :).
  • Loading branch information
carlwilson committed Nov 22, 2019
1 parent 208a928 commit ac3276f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fido/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from six.moves import input as rinput


__version__ = '1.4'
__version__ = '1.4.0rc1'


CONFIG_DIR = join(abspath(dirname(__file__)), 'conf')
Expand Down
5 changes: 5 additions & 0 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def find_version(*file_paths):
'pytest',
]

EXTRAS = {
'testing': tests_require,
'setup': setup_requires,
}

setup(
name='opf-fido',
Expand All @@ -53,6 +57,7 @@ def find_version(*file_paths):
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
extras_require=EXTRAS,
packages=['fido'],
package_data={'fido': ['*.*', 'conf/*.*']},
entry_points={'console_scripts': [
Expand Down
6 changes: 0 additions & 6 deletions sonar-project.properties

This file was deleted.

0 comments on commit ac3276f

Please sign in to comment.