summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2026-01-28 23:52:45 -0500
committerSchark <jordan@schark.online>2026-01-28 23:52:45 -0500
commite65fa0696c42f3c59b802f865aacbce739a014f2 (patch)
treecb3d3719ec03caadddb996636d4972ab84b42690 /setup.py
downloadcs2pov-e65fa0696c42f3c59b802f865aacbce739a014f2.tar.gz
cs2pov-e65fa0696c42f3c59b802f865aacbce739a014f2.zip
Init
Diffstat (limited to '')
-rw-r--r--setup.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..9ff49b6
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,40 @@
+#!/usr/bin/env python3
+"""Setup script for cs2pov."""
+
+from pathlib import Path
+from setuptools import setup, find_packages
+
+# Read version from package
+version = {}
+exec(Path("cs2pov/__init__.py").read_text(), version)
+
+# Read requirements
+requirements = Path("requirements.txt").read_text().strip().split("\n")
+
+setup(
+ name="cs2pov",
+ version=version["__version__"],
+ description="Record player POV from CS2 demo files",
+ author="",
+ python_requires=">=3.10",
+ packages=find_packages(),
+ install_requires=requirements,
+ entry_points={
+ "console_scripts": [
+ "cs2pov=cs2pov.cli:main",
+ ],
+ },
+ classifiers=[
+ "Development Status :: 3 - Alpha",
+ "Environment :: Console",
+ "Intended Audience :: End Users/Desktop",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: POSIX :: Linux",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Topic :: Games/Entertainment :: First Person Shooters",
+ "Topic :: Multimedia :: Video :: Capture",
+ ],
+)