From 4827a43faf762a0f7e9c0de80bded1fd04b50b91 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 4 May 2017 09:26:56 +0100 Subject: [PATCH] Use scm at setup --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 4f224e9..a099a3a 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ from setuptools import setup, find_packages setup( name="md-pdf", version="1.0", + use_scm_version=True, install_requires=[ "beautifulsoup4==4.5.3", "jinja2==2.9.5", @@ -13,12 +14,10 @@ setup( "pyscss==1.3.5", "PyYAML==3.12" ], + setup_requires=['setuptools_scm'], packages=find_packages(), include_package_data=True, zip_safe=False, - package_data={ - '': ['*.js', '*.css', '*.html'] - }, entry_points=""" [console_scripts] mdp=md_pdf.cli:cli