|
1 | 1 | from setuptools import find_packages, setup |
| 2 | +from pathlib import Path |
2 | 3 |
|
3 | | -with open("README.md", encoding="utf-8") as fh: |
4 | | - long_description = fh.read() |
| 4 | +# Load long description from README.md |
| 5 | +this_directory = Path(__file__).parent |
| 6 | +long_description = (this_directory / "README.md").read_text(encoding="utf-8") |
5 | 7 |
|
6 | 8 | setup( |
7 | 9 | name="pyzmap", |
8 | | - version="0.1.0", |
9 | | - description="Python SDK for the ZMap network scanner with REST API", |
| 10 | + version="0.1.1", |
| 11 | + description="Python SDK for the ZMap network scanner with REST API support", |
| 12 | + long_description=long_description, |
| 13 | + long_description_content_type="text/markdown", |
10 | 14 | author="Atilla", |
11 | 15 | author_email="attilla@tuta.io", |
12 | 16 | url="https://github.com/atiilla/pyzmap", |
13 | 17 | packages=find_packages(), |
14 | 18 | install_requires=[ |
15 | | - "pydantic>=1.8.0,<2.0.0", # For data validation |
16 | | - "fastapi>=0.68.0", # For REST API |
17 | | - "uvicorn>=0.15.0", # For serving the API |
18 | | - "psutil>=5.8.0", # For system and process management |
19 | | - "httpx>=0.18.0", # For making HTTP requests |
20 | | - "click>=8.1.8,<9.0.0", # CLI support |
21 | | - "tomli>=2.0.1,<3.0.0", # TOML parsing |
22 | | - "tomlkit>=0.13.2,<0.14.0", # TOML editing |
| 19 | + "pydantic>=1.8.0,<2.0.0", # Data validation |
| 20 | + "fastapi>=0.68.0", # REST API |
| 21 | + "uvicorn>=0.15.0", # ASGI server |
| 22 | + "psutil>=5.8.0", # System/process monitoring |
| 23 | + "httpx>=0.18.0", # HTTP client |
| 24 | + "click>=8.1.8,<9.0.0", # CLI |
| 25 | + "tomli>=2.0.1,<3.0.0", # TOML reader |
| 26 | + "tomlkit>=0.13.2,<0.14.0", # TOML writer/editor |
23 | 27 | ], |
24 | 28 | extras_require={ |
25 | 29 | "dev": [ |
|
0 commit comments