Skip to content

Commit

Permalink
create new package
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Grainger committed May 11, 2015
1 parent 225b480 commit fd40fa7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

0.1.0 (2015-05-11)
------------------

- First version of sqlalchemy-redshift that can be installed from PyPI
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include CHANGES.rst
include README.rst

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ redshift_sqlalchemy

Amazon Redshift dialect for sqlalchemy.

.. image:: https://travis-ci.org/binarydud/redshift_sqlalchemy.png?branch=master
.. image:: https://travis-ci.org/graingert/redshift_sqlalchemy.png?branch=master

Requirements
-------------
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
24 changes: 8 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys

class PyTest(TestCommand):
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
readme = open('README.rst').read()
history = open('CHANGES.rst').read().replace('.. :changelog:', '')

setup(
name='redshift-sqlalchemy',
version='0.5.1a',
name='sqlalchemy-redshift',
version='0.1.0',
description='Amazon Redshift Dialect for sqlalchemy',
long_description=open("README.rst").read(),
long_description=readme + '\n\n' + history,
author='Matt George',
author_email='[email protected]',
maintainer='Thomas Grainger',
maintainer_email='[email protected]',
license="MIT",
url='https://github.com/binarydud/redshift_sqlalchemy',
url='https://github.com/graingert/redshift_sqlalchemy',
packages=['redshift_sqlalchemy'],
install_requires=['psycopg2>=2.5', 'SQLAlchemy>=0.8.0'],
tests_require=['pytest>=2.5.2'],
test_suite="tests",
cmdclass = {'test': PyTest},
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
Expand Down

0 comments on commit fd40fa7

Please sign in to comment.