-
Notifications
You must be signed in to change notification settings - Fork 48
/
setup.py
44 lines (40 loc) · 1.45 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
import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file into a string"""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
setup(
name='django-faker',
version=__import__('django_faker').__version__,
author='joke2k',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='http://github.com/joke2k/django-faker',
license='MIT',
description=u' '.join(__import__('django_faker').__doc__.splitlines()).strip(),
classifiers=[
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Intended Audience :: Information Technology',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Widget Sets',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Framework :: Django'
],
keywords='faker fixtures data test django',
long_description=read_file('README.rst'),
install_requires=['django','Faker>=0.7.3'],
tests_require=['django','Faker>=0.7.3'],
test_suite="runtests.runtests",
zip_safe=False,
)