mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed pathlib dependency (incompatible with Python 3.5)
This commit is contained in:
parent
9f28bbe43d
commit
6e16ed2a63
1 changed files with 4 additions and 2 deletions
6
setup.py
6
setup.py
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue