-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch makes the project switch from the legacy specification of metadata in the `setup.py` to them being specified in a `pyproject.toml` file.
- Loading branch information
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include LICENSE README.md requirements.txt | ||
include LICENSE README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[build-system] | ||
requires = ['setuptools >= 61.0'] | ||
build-backend = 'setuptools.build_meta' | ||
|
||
[project] | ||
name = 'deterrers-cli' | ||
version = '0.6' | ||
authors = [ | ||
{name = 'Lars Kiesow', email = '[email protected]'} | ||
] | ||
description = 'Command line client for DETERRERS' | ||
readme = {file = 'README.md', content-type = 'text/markdown'} | ||
requires-python = ">=3.10" | ||
license = {text = 'MIT'} | ||
dependencies = [ | ||
'deterrers-api>=0.4', | ||
'PyYAML', | ||
'Click' | ||
] | ||
|
||
[project.urls] | ||
Homepage = 'https://github.com/virtUOS/deterrers-cli' | ||
Repository = 'https://github.com/virtUOS/deterrers-cli' | ||
|
||
[project.scripts] | ||
deterrers-cli = 'deterrerscli.__main__:cli' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
from setuptools import setup | ||
import os | ||
|
||
|
||
def read(filename): | ||
path = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(path, filename), encoding='utf-8') as f: | ||
return f.read() | ||
|
||
|
||
setup( | ||
name='deterrers-cli', | ||
version='0.6', | ||
description='Command line client for DETERRERS', | ||
url='https://github.com/virtUOS/proteuscmd', | ||
author='Lars Kiesow', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=['deterrerscli'], | ||
license_files=('LICENSE'), | ||
include_package_data=True, | ||
install_requires=read('requirements.txt').split(), | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
entry_points={ | ||
'console_scripts': ['deterrers-cli = deterrerscli.__main__:cli'], | ||
}) | ||
setup() |