Skip to content

Commit

Permalink
setup.py files
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Oct 15, 2024
1 parent 70a6b60 commit c4e9c90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
13 changes: 0 additions & 13 deletions setup.cfg

This file was deleted.

12 changes: 12 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#!/usr/bin/env python
"""Setup script for the project."""

import glob
import re

from setuptools import setup
Expand All @@ -23,6 +24,9 @@
assert version_re is not None, "Could not find version in kscale/__init__.py"
version: str = version_re.group(1)

package_data = [f"actuator/{name}" for name in ("py.typed", "requirements.txt", "requirements-dev.txt")]
for ext in ("*.in", "*.obj", "*.urdf", "*.sh"):
package_data.extend(glob.iglob(f"kscale/**/*.{ext}", recursive=True))

setup(
name="kscale",
Expand All @@ -36,5 +40,13 @@
python_requires=">=3.11",
install_requires=requirements,
tests_require=requirements_dev,
zip_safe=False,
packages=["kscale"],
package_data={"kscale": package_data},
extras_require={"dev": requirements_dev},
entry_points={
"console_scripts": [
"kscale = kscale.store.cli:sync_main",
],
},
)

0 comments on commit c4e9c90

Please sign in to comment.