forked from edcrewe/django-csvimport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.62 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
49
50
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '2.4'
with open("README.rst", "r") as fp:
csvimport_description = fp.read() + "\n"
for fname in ("TODO.txt", "HISTORY.txt"):
with open(os.path.join("docs", fname), "r") as fp:
csvimport_description += fp.read() + "\n"
setup(name='django-csvimport',
version=version,
description="Import CSV files to django models",
long_description=csvimport_description,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: Apache Software License"
],
keywords='CVS import django fixture',
author='Ed Crewe',
author_email='[email protected]',
url='https://github.com/edcrewe/django-csvimport',
license='Apache',
packages=['csvimport', ],
include_package_data=True,
namespace_packages=['csvimport', ],
# this line always breaks install?
# package_data = {'csvimport': ['*.csv', '*.rst']},
zip_safe=False,
install_requires=[
'django>=1.7',
'chardet',
],
entry_points="""
# -*- Entry points: -*-
""",
)