Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (46 sloc) 1.659 kB
import os
import sys
from setuptools import setup, find_packages
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 here, cause outside the eggs aren't loaded
import pytest
result = pytest.main(self.test_args)
sys.exit(result)
here = os.path.abspath(os.path.dirname(__file__))
README = ''#open(os.path.join(here, 'README.md')).read()
CHANGES = ''#open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'zope.interface'
, 'pyramid'
]
setup(name='hem'
, version='dev'
, description='Generic utilities to help build frameworks on top of pyramid'
, long_description=README + '\n\n' + CHANGES
, classifiers=[
'Intended Audience :: Developers'
, 'License :: OSI Approved :: BSD License'
, 'Operating System :: OS Independent'
, 'Programming Language :: Python'
, 'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
, 'Topic :: Software Development :: Libraries :: Python Modules'
]
, author='John Anderson'
, author_email='sontek@gmail.com'
, url='https://github.com/eventray/hem'
, keywords='pyramid'
, license='BSD'
, packages=find_packages()
, include_package_data=True
, zip_safe=False
, install_requires=requires
, tests_require=requires + ['pytest', 'mock', 'webtest', 'pytest-cov']
, cmdclass = {'test': PyTest}
, test_suite='hem'
)
Jump to Line
Something went wrong with that request. Please try again.