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
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from treebeard import __version__
with open('README.md') as fh:
long_description = fh.read()
setup_args = dict(
name='django-treebeard',
version=__version__,
url='https://github.com/django-treebeard/django-treebeard/',
author='Gustavo Picon',
author_email='tabo@tabo.pe',
license='Apache License 2.0',
packages=find_packages(exclude=['docs']),
include_package_data=True,
description='Efficient tree implementations for Django',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.8',
install_requires=['Django>=3.2'],
tests_require=[
'pytest-django>=4.0,<5.0',
# adds cwd() to the pythonpath, so we can run tests without
# installing treebeard
'pytest-pythonpath>=0.7,<1.0'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'])
if __name__ == '__main__':
setup(**setup_args)
|