Completed
Push — master ( c93987...4867f4 )
by Asif
56s
created

read()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 2
rs 10
1
import os
2
from setuptools import setup
3
import crudbuilder
4
5
# Allow setup.py to be run from any path
6
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
7
8
9
def read(fname):
10
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
11
12
setup(
13
    name='django-crudbuilder',
14
    version=crudbuilder.VERSION,
15
    packages=['crudbuilder'],
16
    include_package_data=True,
17
    license='BSD License',
18
    description='A simple Django CRUD builder',
19
    url='https://github.com/asifpy/django-crudbuilder/archive/master.tar.gz',
20
    author='Asif Jamadar',
21
    author_email='[email protected]',
22
    long_description=read('README.rst'),
23
    install_requires=[
24
        'django_tables2>=1.0.4',
25
        'six>=1.10.0'
26
    ],
27
    classifiers=[
28
        'Environment :: Web Environment',
29
        'Framework :: Django',
30
        'Intended Audience :: Developers',
31
        'License :: OSI Approved :: BSD License',  # example license
32
        'Operating System :: OS Independent',
33
        'Programming Language :: Python',
34
        'Programming Language :: Python :: 2.6',
35
        'Programming Language :: Python :: 2.7',
36
        'Topic :: Internet :: WWW/HTTP',
37
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
38
    ]
39
)
40