Changeset - 043c81adf5c7
[Not reviewed]
0 1 0
Lance Edgar (lance) - 6 years ago 2018-02-15 10:01:46
lance@edbob.org
Replace `execfile()` usage per python 3
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
setup.py
Show inline comments
 
#!/usr/bin/env python
 
# -*- coding: utf-8  -*-
 
# -*- coding: utf-8; -*-
 
################################################################################
 
#
 
#  sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
 
#  Copyright © 2013 Sacramento Natural Foods Co-op, Inc
 
#  Copyright © 2013-2018 Sacramento Natural Foods Co-op, Inc
 
#
 
#  This file is part of sqlalchemy-pervasive.
 
#
 
#  sqlalchemy-pervasive is free software: you can redistribute it and/or modify
 
#  it under the terms of the GNU General Public License as published by the
 
#  Free Software Foundation, either version 3 of the License, or (at your
 
#  option) any later version.
 
#
 
#  sqlalchemy-pervasive is distributed in the hope that it will be useful, but
 
#  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
#  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 
#  more details.
 
#
 
#  You should have received a copy of the GNU General Public License along with
 
#  sqlalchemy-pervasive.  If not, see <http://www.gnu.org/licenses/>.
 
#
 
################################################################################
 

	
 
from __future__ import unicode_literals, absolute_import
 

	
 
import os.path
 
from setuptools import setup, find_packages
 

	
 

	
 
here = os.path.abspath(os.path.dirname(__file__))
 
execfile(os.path.join(here, 'sqlalchemy_pervasive', '_version.py'))
 
exec(open(os.path.join(here, 'sqlalchemy_pervasive', '_version.py')).read())
 

	
 
README = open(os.path.join(here, 'README.rst')).read()
 
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
 

	
 

	
 
requires = [
 
    #
 
    # Version numbers within comments below have specific meanings.
 
    # Basically the 'low' value is a "soft low," and 'high' a "soft high."
 
    # In other words:
 
    #
 
    # If either a 'low' or 'high' value exists, the primary point to be
0 comments (0 inline, 0 general)