kopia lustrzana https://github.com/simonw/datasette
Removed pathlib dependency (incompatible with Python 3.5)
rodzic
9f28bbe43d
commit
6e16ed2a63
6
setup.py
6
setup.py
|
@ -1,10 +1,12 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from datasette import __version__
|
from datasette import __version__
|
||||||
from pathlib import Path
|
import os
|
||||||
|
|
||||||
|
|
||||||
def get_long_description():
|
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()
|
return fp.read()
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue