1- from setuptools import setup , find_packages
2- from pathlib import Path
1+ from setuptools import setup
32
4- # Read the contents of your README file
5- this_directory = Path (__file__ ).parent
6- long_description = (this_directory / "README.md" ).read_text (encoding = "utf-8" )
7-
8- setup (
9- name = "esp32_micropython" ,
10- version = "0.2.0" , # Updated version
11- py_modules = ["dm" ],
12- python_requires = ">=3.11,<3.12" ,
13- install_requires = [
14- "esptool>=4.8,<5.0" ,
15- "mpremote>=1.25,<2.0" ,
16- "pyserial>=3.5,<4.0" ,
17- ],
18- entry_points = {
19- "console_scripts" : [
20- "esp32=dm:main" ,
21- ],
22- },
23- author = "aistack.pl" ,
24- author_email = "lael@aistack.pl" ,
25- description = "All-in-one utility for flashing and managing MicroPython deployments on ESP32-C3 SuperMini boards." ,
26- website = "https://laelhalawani.github.io/esp32_micropython/" ,
27- long_description = long_description ,
28- long_description_content_type = "text/markdown" ,
29- url = "https://github.com/aistack-pl/esp32-micropython" ,
30- license = "MIT" ,
31- classifiers = [
32- "Development Status :: 4 - Beta" ,
33- "Intended Audience :: Developers" ,
34- "Topic :: Software Development :: Embedded Systems" ,
35- "Topic :: System :: Hardware :: Hardware Drivers" ,
36- "Topic :: Terminals :: Serial" ,
37- "Topic :: Utilities" ,
38- "License :: OSI Approved :: MIT License" ,
39- "Programming Language :: Python :: 3" ,
40- "Programming Language :: Python :: 3.11" ,
41- "Operating System :: OS Independent" ,
42- "Environment :: Console" ,
43- ],
44- keywords = "esp32 esp32-c3 micropython flash deploy mpremote esptool firmware" ,
45- project_urls = {
46- "Bug Reports" : "https://github.com/aistack-pl/esp32-micropython/issues" ,
47- "Source" : "https://github.com/aistack-pl/esp32-micropython/" ,
48- "Homepage" : "https://laelhalawani.github.io/esp32_micropython/" ,
49- },
50- include_package_data = True ,
51- )
3+ if __name__ == "__main__" :
4+ setup ()
0 commit comments