This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
forked from stphivos/django-mock-queries
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (42 loc) · 1.61 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import setup
try:
from pip._internal.req import parse_requirements
except ImportError:
from pip.req import parse_requirements
install_req = parse_requirements('requirements/core.txt', session='skip')
req = [str(ir.req) for ir in install_req]
def read_md(filename):
try:
from pypandoc import convert_file
return convert_file(filename, 'rst')
except (ImportError, OSError):
return open(filename).read()
setup(
name='django_mock_queries',
version='2.1.1',
description='A django library for mocking queryset functions in memory for testing',
long_description=read_md('README.md'),
url='https://github.com/stphivos/django-mock-queries',
author='Phivos Stylianides',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Testing :: Mocking',
'Topic :: Software Development :: Testing :: Unit',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='django orm mocking unit-testing tdd',
packages=['django_mock_queries'],
install_requires=req,
)