Skip to content

Commit

Permalink
Bump version, fix missing req file
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlodek committed Sep 28, 2022
1 parent 33d2652 commit 3a7f79c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion py_cui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from py_cui.colors import *

# Version number
__version__ = "0.1.5"
__version__ = "0.1.6"


def fit_text(width: int, text: str, center: bool = False) -> str:
Expand Down
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
with open('README.md', 'r') as readme_fp:
long_description = readme_fp.read()

with open('requirements.txt', 'r') as req_fp:
required_libs = req_fp.readlines()
# Use local requirements file with priority, otherwise just use windows-curses
try:
with open('requirements.txt', 'r') as req_fp:
required_libs = req_fp.readlines()
except FileNotFoundError:
required_libs = ['windows-curses ; platform_system=="Windows"']


# py_cui setup
Expand All @@ -15,7 +19,7 @@
description='A widget and grid based framework for building command line user interfaces in python.',
long_description=long_description,
long_description_content_type='text/markdown',
version='0.1.5',
version='0.1.6',
author='Jakub Wlodek',
author_email='[email protected]',
license='BSD (3-clause)',
Expand Down

0 comments on commit 3a7f79c

Please sign in to comment.