File tree 3 files changed +32
-0
lines changed
3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ _version.py
Original file line number Diff line number Diff line change
1
+ ###
2
+ # Copyright 2022-present MongoDB, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ###
16
+ """The gdbmongo package contains GDB pretty printers and commands for debugging the MongoDB Server.
17
+ Its primary target audience is MongoDB employees.
18
+ """
19
+
20
+ try :
21
+ from gdbmongo ._version import version as __version__
22
+ except ImportError :
23
+ # The package is not installed so we don't bother giving it a version number.
24
+ __version__ = None
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
" setuptools >= 45.1.0" ,
4
+ " setuptools_scm[toml] >= 6.3.2" ,
4
5
" wheel >= 0.36.0"
5
6
]
6
7
build-backend = " setuptools.build_meta"
7
8
9
+ [tool .setuptools_scm ]
10
+ write_to = " gdbmongo/_version.py"
11
+
8
12
[tool .pylint ]
9
13
14
+ [tool .pylint .basic ]
15
+ ignore = " _version.py"
16
+
10
17
[tool .pylint .similarities ]
11
18
min-similarity-lines = 6
12
19
You can’t perform that action at this time.
0 commit comments