Skip to content

Commit

Permalink
setup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ergo committed Nov 25, 2016
1 parent 25919da commit 3057f90
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 11 deletions.
File renamed without changes.
19 changes: 10 additions & 9 deletions CHANGES → CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
Changelog
=========

2016-11-XX
2016-11-25
----------

* Release 0.7.0
* Introduced ResourceTreeService for nested resource management
(currently only PostgreSQL support is implemented)
* added deprecation warnings
* lots of new tests

**BACKWARDS INCOMPATIBLE CHANGES**

Expand Down Expand Up @@ -133,10 +134,10 @@ Changelog
2012-11-28
----------
* First Alpha Release 0.3 - This release should have a fairly stable API
* Hundreds of small and big changes - based on all great feedback we are now
using surrogate pkeys instead of natural pkeys for most models.
As result of this few methods started accepting id's instead usernames,
so consider yourself warned that this release might be bw. incompatible a bit
* Hundreds of small and big changes - based on all great feedback we are now
using surrogate pkeys instead of natural pkeys for most models.
As result of this few methods started accepting id's instead usernames,
so consider yourself warned that this release might be bw. incompatible a bit
with your application
* At this point all tests should pass on mysql, postgresql, sqlite

Expand Down Expand Up @@ -176,7 +177,7 @@ Changelog
2012-03-10
----------

* Add registration date to user model, changed last_login_date to no-timezone type (this seem trivial enough to not faciliate schema change)
* Add registration date to user model, changed last_login_date to no-timezone type (this seem trivial enough to not faciliate schema change)
* previous revision ID: 2d472fe79b95

2012-02-19
Expand Down Expand Up @@ -212,8 +213,8 @@ Changelog
* resource.users_for_perm(), resource.direct_perms_for_user() and resource.group_perms_for_user() return tuple (user/group_name,perm_name) now

.. hint::
What "previous revision ID" means?
If you are updating the package that never was stamped with
alembic you may need to stamp the database manually with following revision id,
What "previous revision ID" means?
If you are updating the package that never was stamped with
alembic you may need to stamp the database manually with following revision id,
from this point onwards you will be able to update schemas automaticly.
Alembic 0.3.3+ (or current trunk for 2012-05-27) is required for this to function properly
25 changes: 23 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
import os

from setuptools import setup, find_packages

from ziggurat_foundations import __version__

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()

version = '{}.{}.{}'.format(__version__['major'],
__version__['minor'],
__version__['patch'])
Expand All @@ -11,14 +20,26 @@
description=""" Set of classes that are reusable across various types of
web apps, base user object, auth relationships + structured resource tree
""",
long_description=README,
author='Marcin Lulek',
author_email='info@webreactor.eu',
license='BSD',
classifiers=[
'Classifier: Development Status :: 5 - Production/Stable',
'Classifier: Framework :: Flask',
'Classifier: Framework :: Pylons',
'Classifier: Framework :: Pyramid',
'Classifier: License :: OSI Approved :: BSD License',
'Classifier: Programming Language :: Python :: 2.7',
'Classifier: Programming Language :: Python :: 3.3',
'Classifier: Programming Language :: Python :: 3.4',
'Classifier: Programming Language :: Python :: 3.5'
],
packages=find_packages(),
zip_safe=True,
# include_package_data=True,
include_package_data=True,
package_data={
'': ['*.txt', '*.rst', '*.ini', '*.mako', 'README'],
'': ['*.txt', '*.rst', '*.ini', '*.mako'],
'ziggurat_foundations': ['migrations/versions/*.py'],
},
test_suite='ziggurat_foundations.tests',
Expand Down

0 comments on commit 3057f90

Please sign in to comment.