make it installable

This commit is contained in:
Jakobus Schürz 2019-09-24 09:03:09 +02:00
parent 059749d89a
commit 7f4f041de8
4 changed files with 32 additions and 3 deletions

14
.gitignore vendored
View file

@ -1 +1,15 @@
venv/
*.pyc
__pycache__/
instance/
.pytest_cache/
.coverage
htmlcov/
dist/
build/
*.egg-info/

5
servecerts/MANIFEST.in Normal file
View file

@ -0,0 +1,5 @@
include servecerts/schema.sql
graft servecerts/static
graft servecerts/templates
global-exclude *.pyc

View file

@ -2,9 +2,7 @@ import os
from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension
from logging.handlers import RotatingFileHandler
import logging
#from flask_debugtoolbar import DebugToolbarExtension
def create_app(test_config=None):

12
servecerts/setup.py Normal file
View file

@ -0,0 +1,12 @@
from setuptools import find_packages, setup
setup(
name='servecerts',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'flask',
],
)