Skip to content

Commit

Permalink
add setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbusch committed Apr 7, 2020
1 parent dd31a34 commit 7cc79f1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ __pycache__
.venv
.vscode
htmlcov
*.egg-info/
.coverage
.tox
.pytest_cache
Expand Down
21 changes: 21 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from setuptools import setup, find_packages

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="flask-tex",
description="LaTeX integration for flask",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/weinbusch/flask-tex",
author="Martin Bierbaum",
license="MIT",
keywords="python flask latex",
packages=find_packages(exclude=["tests"]),
use_scm_version=True,
setup_requires=["setuptools_scm"],
install_requires=["flask>=1.1.1"],
python_requires=">=3.6.8",
package_data={"": ["*.tex"]},
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ envlist =
lint
py36
coverage-report
skipsdist = True
skipsdist = False

[testenv]
deps =
Expand Down

0 comments on commit 7cc79f1

Please sign in to comment.