Skip to content

Commit

Permalink
init toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Liyulingyue committed May 23, 2024
1 parent 11b7406 commit 4299680
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions ppocr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,3 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import importlib.metadata as importlib_metadata

try:
__version__ = importlib_metadata.version(__package__ or __name__)
except importlib_metadata.PackageNotFoundError:
__version__ = "0.0.0"
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ include-package-data = true

[tool.setuptools.dynamic]
version = {file = "VERSION_NUMBER"}

0 comments on commit 4299680

Please sign in to comment.