-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (42 loc) · 1.69 KB
/
setup.py
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
from setuptools import setup, find_packages
with open('README.md', 'r') as f:
long_description = f.read()
def get_version(path):
with open(path) as f:
for line in f:
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError('Unable to find version string.')
setup(
name='django-fast-update',
packages=find_packages(exclude=['example']),
include_package_data=True,
install_requires=['Django>=3.2'],
version=get_version('fast_update/__init__.py'),
license='MIT',
description='Faster db updates for Django using UPDATE FROM VALUES sql variants.',
long_description=long_description,
long_description_content_type='text/markdown',
author='netzkolchose',
author_email='[email protected]',
url='https://github.com/netzkolchose/django-fast-update',
download_url='https://github.com/netzkolchose/django-fast-update/archive/v0.2.3.tar.gz',
keywords=['django', 'bulk_update', 'fast', 'update', 'fast_update'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Database',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development :: Libraries',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
],
)