make it installable
This commit is contained in:
parent
059749d89a
commit
7f4f041de8
4 changed files with 32 additions and 3 deletions
14
.gitignore
vendored
14
.gitignore
vendored
|
@ -1 +1,15 @@
|
||||||
|
venv/
|
||||||
|
|
||||||
*.pyc
|
*.pyc
|
||||||
|
__pycache__/
|
||||||
|
|
||||||
|
instance/
|
||||||
|
|
||||||
|
.pytest_cache/
|
||||||
|
.coverage
|
||||||
|
htmlcov/
|
||||||
|
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
*.egg-info/
|
||||||
|
|
||||||
|
|
5
servecerts/MANIFEST.in
Normal file
5
servecerts/MANIFEST.in
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
include servecerts/schema.sql
|
||||||
|
graft servecerts/static
|
||||||
|
graft servecerts/templates
|
||||||
|
global-exclude *.pyc
|
||||||
|
|
|
@ -2,9 +2,7 @@ import os
|
||||||
|
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
|
|
||||||
from flask_debugtoolbar import DebugToolbarExtension
|
#from flask_debugtoolbar import DebugToolbarExtension
|
||||||
from logging.handlers import RotatingFileHandler
|
|
||||||
import logging
|
|
||||||
|
|
||||||
|
|
||||||
def create_app(test_config=None):
|
def create_app(test_config=None):
|
||||||
|
|
12
servecerts/setup.py
Normal file
12
servecerts/setup.py
Normal 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',
|
||||||
|
],
|
||||||
|
)
|
Loading…
Reference in a new issue