Use scm at setup
This commit is contained in:
parent
daf8a9ab39
commit
4827a43faf
1 changed files with 2 additions and 3 deletions
5
setup.py
5
setup.py
|
@ -4,6 +4,7 @@ from setuptools import setup, find_packages
|
||||||
setup(
|
setup(
|
||||||
name="md-pdf",
|
name="md-pdf",
|
||||||
version="1.0",
|
version="1.0",
|
||||||
|
use_scm_version=True,
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"beautifulsoup4==4.5.3",
|
"beautifulsoup4==4.5.3",
|
||||||
"jinja2==2.9.5",
|
"jinja2==2.9.5",
|
||||||
|
@ -13,12 +14,10 @@ setup(
|
||||||
"pyscss==1.3.5",
|
"pyscss==1.3.5",
|
||||||
"PyYAML==3.12"
|
"PyYAML==3.12"
|
||||||
],
|
],
|
||||||
|
setup_requires=['setuptools_scm'],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
package_data={
|
|
||||||
'': ['*.js', '*.css', '*.html']
|
|
||||||
},
|
|
||||||
entry_points="""
|
entry_points="""
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
mdp=md_pdf.cli:cli
|
mdp=md_pdf.cli:cli
|
||||||
|
|
Reference in a new issue