Skip to content

Commit

Permalink
readme-manifest-minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ozanonurtek committed Feb 20, 2018
1 parent 5a3f42c commit 0dd2318
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ ENV/
# mkdocs documentation
/site

/*.egg-info

/dist/

# mypy
.mypy_cache/
.idead
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.rst
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Flask Now
--------

A simple Flask Application Generator via CLI. Check Github repository for more information.
106 changes: 106 additions & 0 deletions flask_now/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

/*.egg-info

/dist/

# mypy
.mypy_cache/
.idead
1 change: 1 addition & 0 deletions flask_now/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.rst
4 changes: 4 additions & 0 deletions flask_now/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Flask Now
--------

A simple Flask Application Generator via CLI.
3 changes: 0 additions & 3 deletions flask_now/architect.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ def __identify(self):
if self.__architecture.lower() == "mvc":
self.__create_mvc_architecture()

elif self.__architecture.lower == "mvvmr":
pass
#self.__create_mvvmr_achitecture()
else:
self.__create_simple_app()

Expand Down
4 changes: 2 additions & 2 deletions flask_now/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self):
"mongokit","oauth","openid","pewee","ponywhoosh","principal","pymongo","queryinspect",
"raptor","rest-jsonapi","restful","restless","script","seasurf","security","shelve",
"sijax","sqlalchemy","sse","static-compress","stormpath","testing","themes","uploads",
"user","via","weasyprint","webtest","wtf","xml-rpc","zen","zodb","frozen-flask"]
"user","via","weasyprint","webtest","wtf","xml-rpc","zen","zodb","frozen"]

def __read_package_list(self):
if len(sys.argv) > 0:
Expand Down Expand Up @@ -57,7 +57,7 @@ def __create_requirements(self):
try:
with open("requirements.txt", "a") as file:
for package in self.__package_list:
if package == "frozen-flask":
if package == "frozen":
file.write("frozen-flask \n")
else:
file.write("flask-" + package + "\n")
Expand Down
19 changes: 17 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
from setuptools import setup


def readme():
with open('README.rst') as readme:
return readme.read()


setup(name='flask-now',
version='0.1',
version='0.1.3',
description='Flask App Generator',
long_description=readme(),
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Flask',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Code Generators',
],
keywords='flask flask_now flask-now app-generator flask-app-generator app generator',
url='http://github.com/ozanonurtek/flask-now',
author='Ozan Onur Tek',
author_email='[email protected]',
license='GPLv3',
install_requires=[
'flask'
],
packages=['flask_now'],
include_package_data=True,
zip_safe=False)

0 comments on commit 0dd2318

Please sign in to comment.