From 709f81c626f892e9c85084c3410d14414590ab89 Mon Sep 17 00:00:00 2001 From: Sam Kleiner Date: Sat, 16 Jun 2018 22:38:25 -0400 Subject: [PATCH] pypi config setup --- .gitignore | 3 +++ setup.cfg | 2 ++ setup.py | 5 ++--- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 setup.cfg diff --git a/.gitignore b/.gitignore index cbaf0a7..88364c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ __pycache__ +build +dist +*egg-info pgdata/* !pgdata/.mkdir diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py index 97c71c9..f34d6d1 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,6 @@ from setuptools import setup -from os import path -here = path.abspath(path.dirname(__file__)) -with open(path.join(here, 'README.md'), encoding='utf-8') as f: +with open('README.md') as f: long_description = f.read() setup( @@ -12,6 +10,7 @@ long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/StoicPerlman/binance-db', + download_url = 'https://github.com/StoicPerlman/binance-db/archive/0.0.1.tar.gz', author='Sam Kleiner', author_email='sam@skleiner.com', classifiers=[