Skip to content

Commit 526f80d

Browse files
committed
DOC: Add long description and source url
1 parent b392dbf commit 526f80d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

setup.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
from distutils.core import setup
2+
import os
23
from pathlib import Path
34

45
from versioneer import get_cmdclass, get_version
56

67
CODE_DIRECTORY = Path(__file__).parent
78

9+
10+
def read_file(filename):
11+
"""Source the contents of a file"""
12+
with open(os.path.join(os.path.dirname(__file__), filename)) as file:
13+
return file.read()
14+
15+
816
setup(
917
name="dataframe_sql",
1018
version=get_version(),
1119
cmdclass=get_cmdclass(),
20+
long_description=read_file("README.md"),
1221
maintainer="Zach Brookler",
1322
maintainer_email="zachb1996@yahoo.com",
1423
description="A package for querying dataframes using SQL",
@@ -25,4 +34,7 @@
2534
"Programming Language :: Python :: 3.6",
2635
"Programming Language :: Python :: 3.7",
2736
],
37+
project_urls={
38+
'Source': 'https://github.com/zbrookle/dataframe_sql',
39+
},
2840
)

0 commit comments

Comments
 (0)