Skip to content

Commit

Permalink
Fix new releases versions as we are not using Travis anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Dubicki committed Feb 26, 2021
1 parent b572126 commit d3455b7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
import codecs
import os
import sys

import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand


def rc_value():
def version():
with open('version') as fp:
val = fp.read().rstrip()
return '{}rc0'.format(val)


def version():
return os.getenv('TRAVIS_TAG', rc_value())
return val


class PyTest(TestCommand):
Expand Down

0 comments on commit d3455b7

Please sign in to comment.