1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- from __future__ import unicode_literals
- import os
- from setuptools import find_packages, setup
- from rest_framework_bulk import __version__, __author__
- def read(fname):
- return (open(os.path.join(os.path.dirname(__file__), fname), 'rb')
- .read().decode('utf-8'))
- authors = read('AUTHORS.rst')
- history = read('HISTORY.rst').replace('.. :changelog:', '')
- licence = read('LICENSE.rst')
- readme = read('README.md')
- requirements = read('requirements.txt').splitlines() + [
- 'setuptools',
- ]
- test_requirements = (
- read('requirements.txt').splitlines()
- + read('requirements-dev.txt').splitlines()[1:]
- )
- setup(
- name='djangorestframework-bulk',
- version=__version__,
- author=__author__,
- author_email='miroslav@miki725.com',
- description='Django REST Framework bulk CRUD view mixins',
- long_description='\n\n'.join([readme, history, authors, licence]),
- url='https://github.com/miki725/django-rest-framework-bulk',
- license='MIT',
- keywords='django',
- packages=find_packages(),
- install_requires=requirements,
- tests_require=test_requirements,
- classifiers=[
- 'Development Status :: 3 - Alpha',
- 'Framework :: Django',
- 'Intended Audience :: Developers',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Programming Language :: Python :: 3',
- 'Topic :: Utilities',
- 'Topic :: Internet :: WWW/HTTP',
- 'License :: OSI Approved :: MIT License',
- ],
- )
|