Skip to content

Commit 1133240

Browse files
committed
cleanup and prepare for 0.9 release
1 parent 1685732 commit 1133240

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.rst *.py requirements.txt

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python-monetdb
2-
sqlalchemy
1+
python-monetdb >= 11.19.3.2
2+
sqlalchemy >= 0.8

setup.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@
44
"""
55
from setuptools import find_packages, setup
66
import os
7-
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
87

8+
from sqlalchemy_monetdb import __version__
9+
10+
11+
readme = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
12+
13+
req_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
14+
requirements = [i.strip() for i in open(req_file).readlines()]
915

1016
setup_params = dict(
1117
name="sqlalchemy_monetdb",
12-
version="0.2",
18+
version=__version__,
1319
description="SQLAlchemy dialect for MonetDB",
1420
author="Gijs Molenaar",
1521
author_email="gijsmolenaar@gmail.com",
16-
long_description=open(readme).read(),
22+
long_description=readme,
1723
classifiers=[
18-
'Development Status :: 4 - Beta',
24+
"Development Status :: 5 - Production/Stable",
1925
'Environment :: Console',
2026
'Intended Audience :: Developers',
2127
'Programming Language :: Python',
@@ -31,13 +37,11 @@
3137
test_suite="run_tests.setup_py_test",
3238
zip_safe=False,
3339
entry_points={
34-
"sqlalchemy.dialects": ["monetdb = sqlalchemy_monetdb.dialect:MonetDialect"]
40+
"sqlalchemy.dialects":
41+
["monetdb = sqlalchemy_monetdb.dialect:MonetDialect"]
3542
},
3643
license="MIT",
37-
install_requires=[
38-
'python-monetdb',
39-
'sqlalchemy',
40-
]
44+
install_requires=requirements
4145
)
4246

4347
if __name__ == '__main__':

sqlalchemy_monetdb/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
"""
22
SQLAlchemy backend for MonetDB
33
"""
4+
5+
__version__ = '0.9'

0 commit comments

Comments
 (0)