From bb68bf81d15dca9d3314e87873b48710d5b6fff3 Mon Sep 17 00:00:00 2001 From: Gyuri Horak Date: Wed, 28 Dec 2022 10:36:02 +0100 Subject: [PATCH] setup.py => pyproject.toml --- pyproject.toml | 22 ++++++++++++++++++++++ setup.py | 33 --------------------------------- 2 files changed, 22 insertions(+), 33 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7e9e45b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[tool.poetry] +name = "xontrib-langenv" +version = "1.2.0" +description = "Pyenv/Nodenv/Goenv/Rbenv integration for xonsh" +authors = ["Gyuri Horak "] +license = "MIT" +readme = "README.md" +repository = "https://github.com/dyuri/xontrib-langenv" +packages = [{include = "xontrib"}] +classifiers=[ + 'Environment :: Console', + 'Programming Language :: Python', + 'Topic :: System :: Shells', + 'Topic :: System :: System Shells', +] + +[tool.poetry.dependencies] +python = "^3.8" + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api" diff --git a/setup.py b/setup.py deleted file mode 100644 index eb62f61..0000000 --- a/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -from setuptools import setup - -try: - with open('README.md') as fh: - LONG_DESC = fh.read() -except (IOError, OSError): - LONG_DESC = '' - -setup( - name="xontrib-langenv", - version='1.1.0', - url='https://github.com/dyuri/xontrib-langenv', - license='MIT', - author='Gyuri HorĂ¡k', - author_email='dyuri@horak.hu', - description='Pyenv/Nodenv/Goenv/Rbenv integration for xonsh', - long_description=LONG_DESC, - long_description_content_type='text/markdown', - packages=['xontrib'], - package_dir={'xontrib': 'xontrib'}, - package_data={'xontrib': ['*.xsh']}, - platforms='any', - data_files=[("", ["LICENSE.txt"])], - classifiers=[ - 'Environment :: Console', - 'Intended Audience :: End Users/Desktop', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3', - 'Topic :: Desktop Environment', - 'Topic :: System :: Shells', - 'Topic :: System :: System Shells', - ] -)