-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (49 loc) · 2.02 KB
/
setup.py
File metadata and controls
59 lines (49 loc) · 2.02 KB
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
49
50
51
52
53
54
55
56
57
58
59
import os
from setuptools import setup, find_packages
_CURRENT_DIR_PATH = os.path.abspath(os.path.dirname(__file__))
_VERSION = \
open(os.path.join(_CURRENT_DIR_PATH, 'VERSION.txt')).readline().rstrip()
_LONG_DESCRIPTION = """
It provides several utilities for achieving a *fixed state* when testing
Python programs. Specifically, these utilities setup / teardown databases and
work with temporary file systems.
You may want to start by reading the `End User Documentation`_.
.. _End User Documentation: http://farmdev.com/projects/fixture/docs/
"""
setup(
name='fixture',
version=_VERSION,
author='Kumar McMillan',
author_email='kumar dot mcmillan / gmail.com',
description='fixture is a package for loading and referencing test data',
classifiers=['Environment :: Other Environment',
'Intended Audience :: Developers',
('License :: OSI Approved :: GNU Library or Lesser '
'General Public License (LGPL)'),
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities'],
long_description=_LONG_DESCRIPTION,
license='GNU Lesser General Public License (LGPL)',
keywords=('test testing tools unittest fixtures setup teardown '
'database stubs IO tempfile'),
url='http://farmdev.com/projects/fixture/',
packages=find_packages(),
test_suite="fixture.setup_test_not_supported",
entry_points={
'console_scripts': ['fixture = fixture.command.generate:main']
},
install_requires=[
'six >= 1.10.0',
],
# the following allows e.g. easy_install fixture[django]
extras_require={
'decorators': ['nose>=0.9.2'],
'sqlalchemy': ['SQLAlchemy>=0.4'],
'sqlobject': ['SQLObject==0.8'],
'django': ['django>=1.8'],
},
)