Skip to content

Commit aa36eaa

Browse files
committed
setup.py correct now!
1 parent c0a052b commit aa36eaa

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

setup.py

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import re
22
import sys
33

4-
from setuptools import setup, find_packages
5-
#from distutils.core import setup
4+
#from setuptools import setup, find_packages
5+
from distutils.core import setup
66

77
# Read the version from __init__ to avoid importing python-xbrl while installing.
88
# This lets the install work when the user does not have BeautifulSoup
@@ -11,38 +11,36 @@
1111
# open("python-xbrl/__init__.py").read()).group(1)
1212

1313
# Use BeautifulSoup 3 on Python 2.5 and earlier and BeautifulSoup 4 otherwise
14-
if sys.version_info < (2, 6):
15-
REQUIRES = [
16-
"beautifulSoup>=3.0",
17-
]
18-
else:
19-
REQUIRES = [
20-
"beautifulsoup4"
21-
]
14+
#if sys.version_info < (2, 6):
15+
# REQUIRES = [
16+
# "beautifulSoup>=3.0",
17+
# ]
18+
#else:
19+
# REQUIRES = [
20+
# "beautifulsoup4"
21+
# ]
2222

23-
if sys.version_info < (2, 7):
24-
REQUIRES.extend([
25-
"ordereddict>=1.1",
26-
"marshmallow>=0.7",
27-
])
23+
#if sys.version_info < (2, 7):
24+
# REQUIRES.extend([
25+
# "ordereddict>=1.1",
26+
# "marshmallow>=0.7",
27+
# ])
2828

29-
setup = dict(
29+
setup(
3030
name='python-xbrl',
3131
version='1.0.1',
3232
author='Joe Cabrera',
3333
author_email='[email protected]',
3434
keywords='xbrl, Financial, Accounting, file formats',
3535
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
3636
classifiers=[
37-
"Development Status :: 1",
3837
"Intended Audience :: Developers",
3938
"Natural Language :: English",
4039
"Operating System :: OS Independent",
4140
"Programming Language :: Python :: 2.6",
4241
"Programming Language :: Python :: 2.7",
4342
"Topic :: Software Development :: Libraries :: Python Modules",
4443
'Topic :: Office/Business :: Financial',
45-
"License :: OSI Approved :: Apache License",
4644
],
4745
install_requires=[
4846
'BeautifulSoup',
@@ -52,13 +50,11 @@
5250
'pprint'
5351
],
5452
scripts=['python-xbrl/parser.py','python-xbrl/gaap.py'],
55-
packages=find_packages(exclude=['examples', 'tests']),
53+
#packages=find_packages(exclude=['examples', 'tests']),
5654
url='https://github.com/greedo/python-xbrl/',
5755
license='Apache License',
5856
description='library for parsing xbrl documents providing output as both a basic model object and serialized objects',
5957
long_description=open("./README.md", "r").read(),
6058
#packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
61-
include_package_data=True,
62-
zip_safe=True,
6359
test_suite='tests',
6460
)

0 commit comments

Comments
 (0)