-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.65 KB
/
setup.py
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
from setuptools import find_packages, setup
# Function to read the requirements file
def parse_requirements(filename):
"""Load requirements from a pip requirements file."""
with open(filename) as req_file:
lines = req_file.readlines()
# Filter out comments and empty lines, and ensure we have no leading/trailing whitespace
requirements = [
line.strip() for line in lines if line.strip() and not line.startswith("#")
]
return requirements
setup(
name="supawee",
version="0.1.1",
author="Peter Csiba",
author_email="[email protected]",
description="A Peewee integration for Supabase with programmatic model generation",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/petercsiba/supawee",
packages=find_packages(),
install_requires=parse_requirements("requirements/common.txt"),
entry_points={
"console_scripts": [
"supawee=supawee.generate_models:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.7", # Minimum Python version requirement
)