92 lines
2.9 KiB
Python
92 lines
2.9 KiB
Python
|
|
#!/usr/bin/env python3
|
||
|
|
"""
|
||
|
|
Setup script for NowYouSeeMe holodeck environment
|
||
|
|
"""
|
||
|
|
|
||
|
|
from setuptools import setup, find_packages
|
||
|
|
import os
|
||
|
|
|
||
|
|
# Read the README file
|
||
|
|
def read_readme():
|
||
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||
|
|
return fh.read()
|
||
|
|
|
||
|
|
# Read requirements
|
||
|
|
def read_requirements():
|
||
|
|
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
||
|
|
return [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
||
|
|
|
||
|
|
setup(
|
||
|
|
name="nowyouseeme",
|
||
|
|
version="1.0.0",
|
||
|
|
author="NowYouSeeMe Team",
|
||
|
|
author_email="team@nowyouseeme.dev",
|
||
|
|
description="Real-time 6DOF holodeck environment using commodity sensors",
|
||
|
|
long_description=read_readme(),
|
||
|
|
long_description_content_type="text/markdown",
|
||
|
|
url="https://github.com/your-org/NowYouSeeMe",
|
||
|
|
project_urls={
|
||
|
|
"Bug Tracker": "https://github.com/your-org/NowYouSeeMe/issues",
|
||
|
|
"Documentation": "https://nowyouseeme.readthedocs.io/",
|
||
|
|
},
|
||
|
|
classifiers=[
|
||
|
|
"Development Status :: 4 - Beta",
|
||
|
|
"Intended Audience :: Science/Research",
|
||
|
|
"License :: OSI Approved :: MIT License",
|
||
|
|
"Operating System :: OS Independent",
|
||
|
|
"Programming Language :: Python :: 3",
|
||
|
|
"Programming Language :: Python :: 3.8",
|
||
|
|
"Programming Language :: Python :: 3.9",
|
||
|
|
"Programming Language :: Python :: 3.10",
|
||
|
|
"Programming Language :: Python :: 3.11",
|
||
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
||
|
|
"Topic :: Scientific/Engineering :: Computer Vision",
|
||
|
|
"Topic :: Scientific/Engineering :: Signal Processing",
|
||
|
|
],
|
||
|
|
packages=find_packages(where="src"),
|
||
|
|
package_dir={"": "src"},
|
||
|
|
python_requires=">=3.8",
|
||
|
|
install_requires=read_requirements(),
|
||
|
|
extras_require={
|
||
|
|
"dev": [
|
||
|
|
"pytest>=7.0.0",
|
||
|
|
"pytest-cov>=3.0.0",
|
||
|
|
"black>=22.0.0",
|
||
|
|
"flake8>=4.0.0",
|
||
|
|
"mypy>=0.950",
|
||
|
|
"isort>=5.10.0",
|
||
|
|
],
|
||
|
|
"docs": [
|
||
|
|
"sphinx>=5.0.0",
|
||
|
|
"sphinx-rtd-theme>=1.0.0",
|
||
|
|
],
|
||
|
|
"cuda": [
|
||
|
|
"torch>=1.12.0+cu116",
|
||
|
|
"torchvision>=0.13.0+cu116",
|
||
|
|
],
|
||
|
|
"full": [
|
||
|
|
"apriltag>=0.1.0",
|
||
|
|
"rospy>=1.15.0",
|
||
|
|
],
|
||
|
|
},
|
||
|
|
entry_points={
|
||
|
|
"console_scripts": [
|
||
|
|
"nowyouseeme-camera=src.ingestion.capture:main",
|
||
|
|
"nowyouseeme-csi=src.ingestion.csi_acquirer:main",
|
||
|
|
"nowyouseeme-calibrate=src.calibration.intrinsics:main",
|
||
|
|
"nowyouseeme-cir=src.rf_slam.cir_converter:main",
|
||
|
|
"nowyouseeme-sync=src.ingestion.sync_service:main",
|
||
|
|
],
|
||
|
|
},
|
||
|
|
include_package_data=True,
|
||
|
|
package_data={
|
||
|
|
"nowyouseeme": [
|
||
|
|
"configs/*.json",
|
||
|
|
"configs/*.yaml",
|
||
|
|
"data/*",
|
||
|
|
],
|
||
|
|
},
|
||
|
|
zip_safe=False,
|
||
|
|
keywords="computer-vision, slam, rf-localization, neural-rendering, holodeck",
|
||
|
|
platforms=["Linux", "Windows"],
|
||
|
|
)
|