Skip to content

Commit

Permalink
bump version and refine setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
podhmo committed Oct 29, 2015
1 parent a2d7d8f commit 7783f45
Showing 1 changed file with 26 additions and 29 deletions.
55 changes: 26 additions & 29 deletions setup.py
@@ -1,7 +1,6 @@
# -*- coding:utf-8 -*-

import os
import sys

from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -13,64 +12,62 @@
except IOError:
README = CHANGES = ''

install_requires=[
'setuptools',
install_requires = [
'sqlalchemy',
'jsonschema',
'strict-rfc3339',
'isodate', # hmm.
'pytz'
]
]

docs_extras = [
]
]

tests_require =[
"pytest",
tests_require = [
"pytest",
"webob"
]

testing_extras = tests_require + [
]
]

from setuptools.command.test import test as TestCommand


class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


setup(name='alchemyjsonschema',
version='0.2.1.1',
version='0.2.2',
description='mapping jsonschema for sqlalchemy models',
long_description=README + '\n\n' + CHANGES,
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords='',
author="",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords='sqlalchemy jsonschema',
author="podhmo",
author_email="",
url="https://github.com/podhmo/alchemyjsonschema",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = install_requires,
extras_require = {
'testing':testing_extras,
'docs':docs_extras,
},
tests_require = tests_require,
cmdclass = {'test': PyTest},
entry_points = """
install_requires=install_requires,
extras_require={
'testing': testing_extras,
'docs': docs_extras,
},
tests_require=tests_require,
cmdclass={'test': PyTest},
entry_points="""
[console_scripts]
alchemyjsonschema = alchemyjsonschema.command:main
"""
)



alchemyjsonschema=alchemyjsonschema.command:main
""")

0 comments on commit 7783f45

Please sign in to comment.