Some changes in setup

This commit is contained in:
DarkCat09 2022-04-07 11:32:13 +04:00
parent dd72d02643
commit af9e55c80b

View file

@ -3,11 +3,6 @@ import setuptools
with open('README.md', 'rt') as readme: with open('README.md', 'rt') as readme:
long_description = readme.read() long_description = readme.read()
with open('requirements.txt', 'rt') as f:
requires = f.readlines()
for i, r in enumerate(requires):
requires[i] = r.strip('\r\n')
setuptools.setup( setuptools.setup(
name='python-aternos', name='python-aternos',
version='0.6', version='0.6',
@ -18,8 +13,7 @@ setuptools.setup(
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
url='https://github.com/DarkCat09/python-aternos', url='https://github.com/DarkCat09/python-aternos',
project_urls={ project_urls={
'Bug Tracker': 'https://github.com/DarkCat09/python-aternos/issues', 'Bug Tracker': 'https://github.com/DarkCat09/python-aternos/issues'
'Documentation': 'https://github.com/DarkCat09/python-aternos/wiki/Client-(entry-point)',
}, },
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
@ -27,7 +21,14 @@ setuptools.setup(
'License :: OSI Approved :: Apache Software License', 'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent' 'Operating System :: OS Independent'
], ],
install_requires=requires, install_requires=[
'lxml>=4.8.0',
'requests>=2.25.1',
'cloudscraper>=1.2.58',
'js2py>=0.71',
'websockets>=10.1',
'regex>=2022.3.15'
],
packages=['python_aternos'], packages=['python_aternos'],
python_requires=">=3.7", python_requires=">=3.7",
) )