-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (53 loc) · 1.75 KB
/
setup.py
File metadata and controls
57 lines (53 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python3
"""TechScript setup.py — legacy setuptools installer.
Prefer `pip install .` or `pip install -e .` which uses pyproject.toml.
This file exists for environments that still require setup.py.
"""
from setuptools import setup, find_packages
from pathlib import Path
long_description = ""
readme = Path("README.md")
if readme.exists():
long_description = readme.read_text(encoding="utf-8")
setup(
name="techscript",
version="1.0.1",
description="TechScript — A simple, friendly programming language (.txs)",
long_description=long_description,
long_description_content_type="text/markdown",
author="TechScript Team",
license="MIT",
python_requires=">=3.10",
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={
"techscript": [
"../assets/icons/*.png",
"../assets/icons/*.ico",
"../assets/icons/*.icns",
"../assets/icons/*.svg",
]
},
entry_points={
"console_scripts": [
"tech=techscript.cli:main",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Interpreters",
"Topic :: Software Development :: Compilers",
"Intended Audience :: Education",
"Intended Audience :: Developers",
],
extras_require={
"dev": ["pytest>=7.0", "pytest-cov", "black", "flake8"],
"icons": ["Pillow>=9.0"],
},
)