Removed pathlib dependency (incompatible with Python 3.5)

This commit is contained in:
Simon Willison 2018-04-13 11:22:15 -07:00
commit 6e16ed2a63
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -1,10 +1,12 @@
from setuptools import setup, find_packages
from datasette import __version__
from pathlib import Path
import os
def get_long_description():
with open(Path(__file__).parent / 'README.md', encoding='utf8') as fp:
with open(os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'README.md'
), encoding='utf8') as fp:
return fp.read()