forked from soplang/soplang
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (45 loc) · 1.33 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (45 loc) · 1.33 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
#!/usr/bin/env python3
import sys
from setuptools import find_packages, setup
# Read requirements from requirements.txt
with open("requirements.txt") as f:
requirements = [
line.strip() for line in f if not line.startswith("#") and line.strip()
]
# Filter out readline on Windows, as it's not compatible
if sys.platform == "win32":
requirements = [req for req in requirements if not req.startswith("readline")]
# Windows-specific requirements
windows_requirements = [
"pypiwin32",
"pywin32",
]
setup(
name="soplang",
version="0.1.0",
description="The Somali Programming Language",
author="Sharafdin",
author_email="info@soplang.org",
url="https://www.soplang.org/",
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
extras_require={
"windows": windows_requirements,
},
entry_points={
"console_scripts": [
"soplang=main:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Interpreters",
],
python_requires=">=3.6",
)