improve: pack to pipy

This commit is contained in:
h z
2025-01-26 10:15:11 +00:00
parent 9aa34d4208
commit 1e6d11ebcf
4 changed files with 27 additions and 0 deletions

2
NeuralSolver/__init__.py Normal file
View File

@@ -0,0 +1,2 @@
from .NeuralSolver import NeuralSolver
__all__ = ["NeuralSolver"]

0
README.md Normal file
View File

25
setup.py Normal file
View File

@@ -0,0 +1,25 @@
import os
from setuptools import setup, find_packages
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="NeuralSolver",
version="0.0.1",
description="Neural Solver",
long_description=long_description,
long_description_content_type="text/markdown",
author="Hangman",
author_email="hzhang@hangman-lab.top",
url="https://git.hangman-lab.top/hzhang/NeuralSolver",
packages=find_packages(),
install_requires=[
"numpy~=2.0.2",
"tensorflow~=2.18.0"
],
python_requires=">=3.12",
)