Skip to content

Commit 33d3f30

Browse files
committed
Officially declare "Python 3 only"
1 parent d58de74 commit 33d3f30

File tree

5 files changed

+19
-22
lines changed

5 files changed

+19
-22
lines changed

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
################################################################################
33
#
44
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
5-
# Copyright © 2013-2018 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
66
#
77
# This file is part of sqlalchemy-pervasive.
88
#
@@ -21,8 +21,6 @@
2121
#
2222
################################################################################
2323

24-
from __future__ import unicode_literals, absolute_import
25-
2624
import os.path
2725
from setuptools import setup, find_packages
2826

@@ -79,16 +77,15 @@
7977
long_description = README + '\n\n' + CHANGES,
8078

8179
classifiers = [
82-
'Development Status :: 3 - Alpha',
80+
'Development Status :: 5 - Production/Stable',
8381
'Intended Audience :: Developers',
8482
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
8583
'Natural Language :: English',
8684
'Operating System :: OS Independent',
8785
'Programming Language :: Python',
88-
'Programming Language :: Python :: 2.6',
89-
'Programming Language :: Python :: 2.7',
86+
'Programming Language :: Python :: 3',
9087
'Topic :: Software Development :: Libraries :: Python Modules',
91-
],
88+
],
9289

9390
install_requires = requires,
9491
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/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
"""

tasks.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
################################################################################
33
#
44
# sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
5-
# Copyright © 2013-2018 Sacramento Natural Foods Co-op, Inc
5+
# Copyright © 2013-2021 Sacramento Natural Foods Co-op, Inc
66
#
77
# This file is part of sqlalchemy-pervasive.
88
#
@@ -21,16 +21,21 @@
2121
#
2222
################################################################################
2323

24-
from __future__ import unicode_literals, absolute_import
25-
24+
import os
2625
import shutil
26+
2727
from invoke import task
2828

2929

30+
here = os.path.abspath(os.path.dirname(__file__))
31+
exec(open(os.path.join(here, 'sqlalchemy_pervasive', '_version.py')).read())
32+
33+
3034
@task
3135
def release(ctx):
3236
"""
3337
Release a new version of 'sqlalchemy-pervasive'.
3438
"""
3539
shutil.rmtree('sqlalchemy_pervasive.egg-info')
36-
ctx.run('python setup.py sdist --formats=gztar 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)