Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
9bd91b38
Commit
9bd91b38
authored
Oct 03, 2012
by
Priit Laes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Defining flask_admin.__version__ and use it where appropriate
parent
4ffb88b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
conf.py
doc/conf.py
+4
-2
__init__.py
flask_admin/__init__.py
+2
-0
setup.py
setup.py
+3
-1
No files found.
doc/conf.py
View file @
9bd91b38
...
@@ -17,6 +17,8 @@ import sys, os
...
@@ -17,6 +17,8 @@ import sys, os
# add these directories to sys.path here. If the directory is relative to the
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
import
flask_admin
from
flask_admin
import
__version__
# -- General configuration -----------------------------------------------------
# -- General configuration -----------------------------------------------------
...
@@ -48,9 +50,9 @@ copyright = u'2012, Serge S. Koval'
...
@@ -48,9 +50,9 @@ copyright = u'2012, Serge S. Koval'
# built documents.
# built documents.
#
#
# The short X.Y version.
# The short X.Y version.
version
=
'0.0.1'
version
=
__version__
# The full version, including alpha/beta/rc tags.
# The full version, including alpha/beta/rc tags.
release
=
'0.0.1'
release
=
version
# The language for content autogenerated by Sphinx. Refer to documentation
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# for a list of supported languages.
...
...
flask_admin/__init__.py
View file @
9bd91b38
__version__
=
'1.0.2'
from
.base
import
expose
,
Admin
,
BaseView
,
AdminIndexView
from
.base
import
expose
,
Admin
,
BaseView
,
AdminIndexView
setup.py
View file @
9bd91b38
# Fix for older setuptools
# Fix for older setuptools
import
multiprocessing
,
logging
,
os
import
multiprocessing
,
logging
,
os
import
flask_admin
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
...
@@ -17,7 +19,7 @@ def desc():
...
@@ -17,7 +19,7 @@ def desc():
setup
(
setup
(
name
=
'Flask-Admin'
,
name
=
'Flask-Admin'
,
version
=
'1.0.2'
,
version
=
flask_admin
.
__version__
,
url
=
'https://github.com/mrjoes/flask-admin/'
,
url
=
'https://github.com/mrjoes/flask-admin/'
,
license
=
'BSD'
,
license
=
'BSD'
,
author
=
'Serge S. Koval'
,
author
=
'Serge S. Koval'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment