forked from lukerosiak/pysec
-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
61 lines (56 loc) · 1.97 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
56
57
58
59
60
61
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import django_sec
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
def get_reqs(*fns):
lst = []
for fn in fns:
for package in open(os.path.join(CURRENT_DIR, fn)).readlines():
package = package.strip()
if not package:
continue
lst.append(package.strip())
return lst
setup(
name="django-sec",
version=django_sec.__version__,
packages=find_packages(),
# package_data={
# 'django_sec': [
# 'templates/*.*',
# 'templates/*/*.*',
# 'templates/*/*/*.*',
# 'static/*.*',
# 'static/*/*.*',
# 'static/*/*/*.*',
# ],
# },
author="Chris Spencer",
author_email="chrisspen@gmail.com",
description="Parse XBRL filings from the SEC's EDGAR in Python",
license="LGPL",
url="https://github.com/chrisspen/django-sec",
#https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Framework :: Django',
],
zip_safe=False,
install_requires=get_reqs('pip-requirements-min-django.txt', 'pip-requirements.txt'),
tests_require=get_reqs('pip-requirements-test.txt'),
)