-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure project for proper packaging
Also, rename sajax class to Registrar, as it will keep track of all views or routes which have been registered with it. This also prevents the silly sajax.Sajax that we would have otherwise faced.
- Loading branch information
1 parent
b1d0938
commit 44cfcf5
Showing
7 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
from sajax import Sajax | ||
from response import Response | ||
from sajax import Registrar, Response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from sajax import Registrar | ||
from response import Response |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
sajax | ||
------------- | ||
Python / jQuery AJAX library, structured similarly to old xajax library | ||
Flask / jQuery AJAX library, structured similarly to old xajax library | ||
""" | ||
from setuptools import setup | ||
|
||
|
@@ -13,9 +13,9 @@ | |
license='BSD', | ||
author='Robert Burnham', | ||
author_email='[email protected]', | ||
description="Python / jQuery AJAX library", | ||
description="Python / Flask / jQuery AJAX library", | ||
long_description=__doc__, | ||
py_modules=['sajax'], | ||
packages=['sajax'], | ||
zip_safe=False, | ||
include_package_data=True, | ||
platforms='any', | ||
|