Initial changes to import into StackForge.

This commit is contained in:
Monty Taylor 2013-07-11 15:50:07 -04:00
parent 08cacdac59
commit e0edf4d4a1
9 changed files with 51 additions and 23 deletions

View File

@ -1,6 +1,3 @@
syntax: glob
*.pyc
*data/*
*build/*

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/sqlalchemy-migrate.git

View File

@ -1,4 +0,0 @@
65742e996d94a99c6a7e01e26acfbdaa6aba4efc 0 iQIcBAABCAAGBQJMOhCuAAoJEKc+AFVVj7jdDxwP/jhb9kMSLtmxzG3k1vboKE0It2b4CM/qIj554IQolqo3p5HvHq6O9fYhMV492VR36JbwEUei0kbcl4UzNy3BXnpZjHUSlpgoYkDcIJXtMhUBsoOiQ4IZmnBf4TEMtDbO6QrYbrCO75lGsjIc90D85bOK0mj7ILjSQa9o0Ic7qbMW02CRMIar0Y+0J79sWUu2gRhesHdVm3z5LpkgCkntlTf6u0zwZXV3o4NRu80ZWi0uFvCfPga5itFqgdZmV50mMWoJb3eF2H/yL811ShZergrI+q91V/uKQfyQrOUm7M6hSdP58Z5S+z5HgGKk7rlk0ha9JQbEnd8/E6cH4XFaytIZC7QsO2NoJrJo8ycw3NApkO8+n5gRKSxK+xWgTO677xNR76rMUKqdj10SsZFa9sIhGk77okX0oxdg8DHB+f0Ay2fvdmgPLx8aSHth/NRhzw9/97z4KkOMG4ZcvZK3TRxyscISKsTPJIv1iAwE6avdjJfh/2rp8zqGQEUREU9EJUBYkPkjBVX+Rflg7aY4Sa5SxRxkPxgGpDJHu02VoCeINIOBDX6lhg7FyeZMYeMXA8+BNa/xwaeh7PES+svW9KGHwMo9zVQBwvzG1WBQ4S3DeL1um7eJ1k88OyhTSzcN8CiOMFk3hYd8i4qLOuTAjccbcv8JKuQPOKpoNirPO843
35038c66152bc1b0d37131da3049843a9ee4fbe7 0 iQIcBAABCAAGBQJN4A2yAAoJEKc+AFVVj7jdCiEQALxC8o6dzcyZaqlSvzNEz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@ -1,5 +0,0 @@
cb01bf174b05b1590258d6c996b89f60ebd88e5a v0.6
c2526dce0768f11e6bf88afb641a6a9058fa685c v0.6.1
35038c66152bc1b0d37131da3049843a9ee4fbe7 v0.7
fbb2817a1e3f556b9b3ec1a5569f3f94353da0cc v0.7.1
ad06c76fc174be15e690f415c6c9a95017cc2f3b v0.7.2

View File

@ -1,6 +1,5 @@
SQLAlchemy >= 0.6
decorator
Tempita >= 0.4
setuptools
Sphinx
sphinxcontrib_issuetracker

View File

@ -2,21 +2,16 @@
import os
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import setuptools
required_deps = ['SQLAlchemy >= 0.6', 'decorator', 'Tempita >= 0.4', 'setuptools']
required_deps = ['SQLAlchemy >= 0.6', 'decorator', 'Tempita >= 0.4']
readme_file = open(os.path.join(os.path.dirname(os.path.abspath(__file__)),
'README'))
setup(
setuptools.setup(
name = "sqlalchemy-migrate",
version = "0.7.3",
packages = find_packages(exclude=["migrate.tests*"]),
packages = setuptools.find_packages(exclude=["migrate.tests*"]),
include_package_data = True,
description = "Database schema migration for SQLAlchemy",
long_description = readme_file.read(),

View File

@ -7,6 +7,5 @@ pytz
psycopg2
pysqlite
mysql-python
http://jenkins.gnuviech-server.de/userContent/kinterbasdb-3.3.0.tar.bz2
virtualenv
unittest2

12
test_db.cfg Normal file
View File

@ -0,0 +1,12 @@
# test_db.cfg
#
# This file contains a list of connection strings which will be used by
# database tests. Tests will be executed once for each string in this file.
# You should be sure that the database used for the test doesn't contain any
# important data. See README for more information.
#
# The string '__tmp__' is substituted for a temporary file in each connection
# string. This is useful for sqlite tests.
sqlite:///__tmp__
#postgresql://scott:tiger@localhost/test_migrate
#mysql://scott:tiger@localhost/test_migrate

31
tox.ini Normal file
View File

@ -0,0 +1,31 @@
[tox]
envlist = py26,py27,py33,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
nosetests {posargs}
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
nosetests {posargs}
[flake8]
# F841 local variable 'json_template' is assigned to but never used
# H201 no 'except:' at least use 'except Exception:'
# H302 import only modules.'bla..' does not import a module
# H306 imports not in alphabetical order
# H404 multi line docstring should start with a summary
ignore = F841,H201,H302,H306,H404
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,build