Skip to content

Commit

Permalink
Added stub files (#3)
Browse files Browse the repository at this point in the history
* Added stub files

mypy needs stub files to work.
Refactored to be a package and added stub files.

* Bumped version
  • Loading branch information
gentlegiantJGC authored Nov 9, 2023
1 parent 5c5bf3a commit 2207067
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
graft src
recursive-include src/runtime_final *.py *.pyi py.typed
7 changes: 5 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ license = MIT


[options]
python_requires = ~=3.6
package_dir=
=src
py_modules = runtime_final
python_requires = ~=3.6
packages = find:
include_package_data = True

[options.packages.find]
where=src
2 changes: 1 addition & 1 deletion src/runtime_final.py → src/runtime_final/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import inspect
from uuid import uuid4

__version__ = "1.1.1"
__version__ = "1.1.2"
__author__ = "gentlegiantJGC and I. Ahmad (izxxr)"
__copyright__ = "Copyright (C) I. Ahmad 2022-2023 - Licensed under MIT."

Expand Down
1 change: 1 addition & 0 deletions src/runtime_final/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from typing import final as final
Empty file added src/runtime_final/py.typed
Empty file.

0 comments on commit 2207067

Please sign in to comment.