Skip to content

Commit

Permalink
feat: add py.typed to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tibnor committed Apr 4, 2024
1 parent d2ec0bc commit 6267bcd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.10-buster",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements_dev.txt"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
Empty file.
1 change: 1 addition & 0 deletions RunFEEMSSim/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
+ (["License :: " + lic[1]] if lic[1] else []),
url=cfg["git_url"],
packages=setuptools.find_packages(),
package_data={cfg["lib_name"]: ["py.typed", "*.pyi", "**/*.pyi"]},
include_package_data=True,
install_requires=requirements,
extras_require={"dev": dev_requirements},
Expand Down
Empty file.
1 change: 1 addition & 0 deletions machinery-system-structure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
+ (["License :: " + lic[1]] if lic[1] else []),
url=cfg["git_url"],
packages=setuptools.find_packages(),
package_data={cfg["lib_name"]: ["py.typed", "*.pyi", "**/*.pyi"]},
include_package_data=True,
install_requires=requirements,
extras_require={"dev": dev_requirements},
Expand Down

0 comments on commit 6267bcd

Please sign in to comment.