Skip to content

Commit 201d02c

Browse files
committed
2 parents b9aeaf7 + 3c1928b commit 201d02c

File tree

7 files changed

+51
-28
lines changed

7 files changed

+51
-28
lines changed

CHANGES.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@
44
* Updated to work with python3
55

66

7+
0.2.1 (2021-03-03)
8+
------------------
9+
10+
* Update author / homepage metadata.
11+
12+
13+
0.2.0 (2021-03-03)
14+
------------------
15+
16+
* Officially declare "Python 3 only".
17+
18+
19+
0.1.3 (2018-02-24)
20+
------------------
21+
22+
* Replace ``execfile()`` usage per python 3.
23+
24+
725
0.1.2
826
-----
927

setup.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8; -*-
32
################################################################################
43
#
54
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6-
# Copyright © 2013 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
76
#
87
# This file is part of sqlalchemy-pervasive.
98
#
@@ -22,13 +21,16 @@
2221
#
2322
################################################################################
2423

25-
2624
import os.path
2725
from setuptools import setup, find_packages
2826

2927

3028
here = os.path.abspath(os.path.dirname(__file__))
29+
<<<<<<< HEAD
3130
exec(compile(open(os.path.join(here, 'sqlalchemy_pervasive', '_version.py')).read(), os.path.join(here, 'sqlalchemy_pervasive', '_version.py'), 'exec'))
31+
=======
32+
exec(open(os.path.join(here, 'sqlalchemy_pervasive', '_version.py')).read())
33+
>>>>>>> 3c1928b5b5693898f30e8b6e0ae4e6f57a5bf941
3234

3335
README = open(os.path.join(here, 'README.rst')).read()
3436
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
@@ -71,23 +73,23 @@
7173
setup(
7274
name = "sqlalchemy-pervasive",
7375
version = __version__,
74-
author = "Sacramento Natural Foods Co-op, Inc",
75-
author_email = "developer@sacfoodcoop.com",
76-
url = 'https://github.com/SacNaturalFoods/sqlalchemy-pervasive',
76+
author = "Lance Edgar",
77+
author_email = "lance@edbob.org",
78+
url = 'https://kallithea.rattailproject.org/rattail-project-contrib/sqlalchemy-pervasive',
7779
license = "GNU GPL v3",
7880
description = "SQLAlchemy Dialect for Pervasive PSQL",
7981
long_description = README + '\n\n' + CHANGES,
8082

8183
classifiers = [
82-
'Development Status :: 3 - Alpha',
84+
'Development Status :: 5 - Production/Stable',
8385
'Intended Audience :: Developers',
8486
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
8587
'Natural Language :: English',
8688
'Operating System :: OS Independent',
8789
'Programming Language :: Python',
8890
'Programming Language :: Python :: 3',
8991
'Topic :: Software Development :: Libraries :: Python Modules',
90-
],
92+
],
9193

9294
install_requires = requires,
9395
packages = find_packages(exclude=['tests']),

sqlalchemy_pervasive/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8; -*-
32
################################################################################
43
#
54
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6-
# Copyright © 2013 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
76
#
87
# This file is part of sqlalchemy-pervasive.
98
#

sqlalchemy_pervasive/_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
<<<<<<< HEAD
12
__version__ = '0.1.3'
3+
=======
4+
__version__ = '0.2.1'
5+
>>>>>>> 3c1928b5b5693898f30e8b6e0ae4e6f57a5bf941

sqlalchemy_pervasive/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8; -*-
32
################################################################################
43
#
54
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6-
# Copyright © 2013 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
76
#
87
# This file is part of sqlalchemy-pervasive.
98
#
@@ -21,7 +20,6 @@
2120
# sqlalchemy-pervasive. If not, see <http://www.gnu.org/licenses/>.
2221
#
2322
################################################################################
24-
2523
"""
2624
Support for the Pervasive PSQL database engine.
2725
"""

sqlalchemy_pervasive/pyodbc.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8; -*-
32
################################################################################
43
#
54
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6-
# Copyright © 2013 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
76
#
87
# This file is part of sqlalchemy-pervasive.
98
#
@@ -21,7 +20,6 @@
2120
# sqlalchemy-pervasive. If not, see <http://www.gnu.org/licenses/>.
2221
#
2322
################################################################################
24-
2523
"""
2624
Support for Pervasive PSQL via ``pyodbc``.
2725
"""

fabfile.py renamed to tasks.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8; -*-
32
################################################################################
43
#
54
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6-
# Copyright © 2013 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
76
#
87
# This file is part of sqlalchemy-pervasive.
98
#
@@ -22,16 +21,21 @@
2221
#
2322
################################################################################
2423

25-
24+
import os
2625
import shutil
27-
from fabric.api import task, local
26+
27+
from invoke import task
28+
29+
30+
here = os.path.abspath(os.path.dirname(__file__))
31+
exec(open(os.path.join(here, 'sqlalchemy_pervasive', '_version.py')).read())
2832

2933

3034
@task
31-
def release():
35+
def release(ctx):
3236
"""
3337
Release a new version of 'sqlalchemy-pervasive'.
3438
"""
35-
3639
shutil.rmtree('sqlalchemy_pervasive.egg-info')
37-
local('python setup.py sdist --formats=gztar register upload')
40+
ctx.run('python setup.py sdist --formats=gztar')
41+
ctx.run('twine upload dist/sqlalchemy-pervasive-{}.tar.gz'.format(__version__))

0 commit comments

Comments
 (0)