-
Notifications
You must be signed in to change notification settings - Fork 136
/
setup.py
55 lines (51 loc) · 1.88 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
51
52
53
54
55
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = "3.2"
with open("README.rst", "r") as fp:
csvimport_description = fp.read() + "\n"
for fname in ("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_content_type="text/x-rst",
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",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.12",
"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>=2.2.5", "chardet", "dateparser"],
entry_points="""
# -*- Entry points: -*-
""",
)