Skip to content

Commit

Permalink
Merge pull request #194 from gdubicki/remove_travis_from_release
Browse files Browse the repository at this point in the history
Fix new releases versions as we are not using Travis anymore
  • Loading branch information
bastelfreak authored Feb 26, 2021
2 parents b572126 + d3455b7 commit 0941ccb
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 0941ccb

Please sign in to comment.