Skip to content

Commit a65180d

Browse files
committed
feat
1 parent 805a047 commit a65180d

1 file changed

Lines changed: 37 additions & 4 deletions

File tree

setup.py

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,49 @@
11
from setuptools import setup, find_packages
22

3+
# Read the contents of your README file
4+
from pathlib import Path
5+
6+
this_directory = Path(__file__).parent
7+
long_description = (this_directory / "README.md").read_text()
8+
39
setup(
410
name="django-smart-storages",
511
version="0.1.0",
6-
packages=find_packages(include=["smart_storages", "smart_storages.*"]),
12+
description="Simplified S3 storage backends for Django projects with intelligent bucket and region selection.",
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
url="https://github.com/awais786/django-smart-storages",
16+
author="Awais Qureshi",
17+
author_email="awais.qureshi@arbisoft.com",
18+
license="MIT", # Assuming MIT License
19+
20+
# Define the required Python version
21+
python_requires=">=3.8",
22+
23+
# Use standard find_packages
24+
packages=find_packages(exclude=["tests", "tests.*"]),
25+
726
install_requires=[
8-
"django-storages>=1.14.3", # S3 backend dependency
27+
"Django>=4.2", # Explicit minimum Django version
28+
"django-storages>=1.14.3",
929
"boto3>=1.28.0",
1030
],
1131
classifiers=[
32+
"Development Status :: 4 - Beta", # Suggesting 'Beta' as it's a new package
33+
"Environment :: Web Environment",
1234
"Framework :: Django",
13-
"Programming Language :: Python :: 3",
35+
"Framework :: Django :: 4.2", # Explicitly name tested Django versions
36+
"Framework :: Django :: 5.2", # Explicitly name tested Django versions
1437
"Intended Audience :: Developers",
38+
"License :: OSI Approved :: MIT License",
39+
"Operating System :: OS Independent",
40+
"Programming Language :: Python",
41+
"Programming Language :: Python :: 3",
42+
"Programming Language :: Python :: 3.8",
43+
"Programming Language :: Python :: 3.9",
44+
"Programming Language :: Python :: 3.10",
45+
"Programming Language :: Python :: 3.11",
46+
"Programming Language :: Python :: 3.12",
47+
"Topic :: Software Development :: Libraries :: Python Modules",
1548
],
16-
)
49+
)

0 commit comments

Comments
 (0)