Skip to content

Commit

Permalink
Merge 9bb8216 into cc242fd
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulokim1 committed Apr 8, 2023
2 parents cc242fd + 9bb8216 commit e52a38c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

### v0.18.0
* Updated project's setup.py to the requirement of python 3.6, due to use of f-strings.

### v0.17.6
* Removed a deprecated function which allowed calling non-table attributes on a table.
* Removed a deprecated function which created an empty table.
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Expand Up @@ -3,8 +3,8 @@
from setuptools.command.test import test as TestCommand


if sys.version_info < (3, 0):
raise ValueError('This package requires python >= 3.0')
if sys.version_info < (3, 6):
raise ValueError('This package requires python >= 3.6')

with open('requirements.txt') as fid:
install_requires = [l.strip() for l in fid.readlines() if l]
Expand All @@ -16,12 +16,11 @@
'bokeh'
]


with open('datascience/version.py') as fid:
for line in fid:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break
for line in fid:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break

class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
Expand All @@ -46,6 +45,7 @@ def run_tests(self):
setup(
name = 'datascience',
packages = ['datascience'],
python_requires='>=3.6',
version = version,
install_requires = install_requires,
tests_require = tests_requires,
Expand Down

0 comments on commit e52a38c

Please sign in to comment.