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))) |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() Comprehensibility
Best Practice
introduced
by
|
|||
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, |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
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', |
||
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 | 'Programming Language :: Python :: 3.2', |
||
37 | 'Programming Language :: Python :: 3.3', |
||
38 | 'Programming Language :: Python :: 3.4', |
||
39 | 'Topic :: Internet :: WWW/HTTP', |
||
40 | 'Topic :: Internet :: WWW/HTTP :: Dynamic Content' |
||
41 | ] |
||
42 | ) |
||
43 |