diff --git a/.travis.yml b/.travis.yml index 9965f42..982f977 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ python: - "3.5" - "3.6" install: - - pip install pipenv - - pipenv install -d --system + - pip install -e . script: nosetests \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 5bc6772..9b9a029 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,8 +11,7 @@ install: # We need wheel installed to build wheels - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - python --version - - pip install pipenv - - pipenv install -d --system + - pip install -e . build: off diff --git a/setup.py b/setup.py index 838dd8e..03afa6c 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,12 @@ from setuptools import setup, find_packages here = path.abspath(path.dirname(__file__)) # Get the long description from the README file -with open(path.join(here, 'README.rst'), encoding='utf-8') as f: - long_description = f.read() +long_description = '' +try: + with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() +except FileNotFoundError: + print("can't find python README; skipping") setup( name='sucks',