-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (28 loc) · 1.08 KB
/
Copy pathsetup.py
File metadata and controls
30 lines (28 loc) · 1.08 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
from setuptools import setup, find_packages
from pathlib import Path
# Load README.md content for PyPI description
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
setup(
name="greenfootprint", # ✅ Unique name
version="0.1.4",
description="Estimate energy and carbon footprint of Python scripts",
long_description=long_description, # ✅ For PyPI description
long_description_content_type="text/markdown", # ✅ It's markdown!
author="Thuverakan Tharumakulasooriyan",
author_email="thuverakantharma@gmail.com",
url="https://github.com/thuve-codes/greenfootprint", # optional but recommended
packages=find_packages(),
install_requires=["psutil"],
entry_points={
"console_scripts": [
"greenfootprint = greenfootprint.cli:main", # CLI command name
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)