-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
executable file
·45 lines (39 loc) · 1.56 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
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
def local_scheme(version):
return ""
setup(
name='django-db-logger',
version='0.1.13',
# use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
setup_requires=['setuptools_scm'],
packages=['django_db_logger', 'django_db_logger.migrations'],
include_package_data=True,
license='MIT License',
description='Django logging in database',
long_description=README,
url='https://github.com/CiCiUi/django-db-logger',
author='zhangshine',
author_email='[email protected]',
install_requires=['django>=3.2', 'six'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)