diff options
| -rw-r--r-- | setup.cfg | 24 | ||||
| -rw-r--r-- | setup.py | 28 |
2 files changed, 28 insertions, 24 deletions
diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 46451cce..00000000 --- a/setup.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[metadata] -name = HydroRollCore -version = 0.1.1 -author = 简律纯 -author_email = i@jyunko.cn -description = Core of HydroRoll. -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/HydoRoll-Team/HydroRollCore -classifiers = - Programming Language :: Python :: 3 - License :: OSI Approved :: MIT License - Operating System :: OS Independent - -[options] -packages = find: -python_requires = >=3.8 - -install_requires = - tkinter - -[options.entry_points] -console_scripts = - HydroRoll = HydroRoll.__init__:main diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..2f53ecfe --- /dev/null +++ b/setup.py @@ -0,0 +1,28 @@ +from setuptools import setup, find_packages + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setup( + name='HydroRollCore', + version='0.1.1', + author='简律纯', + author_email='i@jyunko.cn', + description='Core of HydroRoll.', + long_description=long_description, + long_description_content_type='text/markdown', + url='https://github.com/HydoRoll-Team/HydroRollCore', + classifiers=[ + 'Programming Language :: Python :: 3', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + ], + packages=find_packages(), + python_requires='>=3.8', + install_requires=['tkinter'], + entry_points={ + 'console_scripts': [ + 'HydroRoll = HydroRoll.__init__:main' + ] + }, +) |
