Skip to content

Commit

Permalink
ci(Travis-CI): changed supported versions and location of version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli4 committed Feb 10, 2021
1 parent 79e3332 commit 397deca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 0 additions & 4 deletions eyepy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""Top-level package for eyepy."""

__author__ = """Olivier Morelle"""
__email__ = "oli4morelle@gmail.com"
__version__ = "0.1.5"

import eyepy.data as data
from eyepy.core.base import Oct, Bscan, Annotation, Meta, EnfaceImage
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[semantic_release]
upload_to_pypi = true
version_variable = eyepy/__init__.py:__version__
version_variable = setup.py:__version__
major_on_zero = true

[bdist_wheel]
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"""The setup script."""
from setuptools import find_packages, setup
import sys
from eyepy import __version__, __author__, __email__

__author__ = """Olivier Morelle"""
__email__ = "oli4morelle@gmail.com"
__version__ = "0.1.5"

try:
from semantic_release import setup_hook
Expand Down Expand Up @@ -34,7 +37,7 @@
setup(
author=__author__,
author_email=__email__,
python_requires=">=3.5",
python_requires=">=3.6",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[tox]
envlist = py27, py35, py36, py37 flake8
envlist = py36, py37, py38 flake8

[travis]
python =
3.8: py38
3.7: py37
3.6: py36
3.5: py35
2.7: py27

[testenv:flake8]
basepython = python
Expand Down

0 comments on commit 397deca

Please sign in to comment.