Browse Source

Use setup.cfg for Setuptools.

Signed-off-by: Birin Sanchez <birin.sanchez@puri.sm>
master
Birin Sanchez 9 months ago
parent
commit
caa9786f7f
5 changed files with 28 additions and 16 deletions
  1. +3
    -1
      .gitignore
  2. +0
    -0
      __init__.py
  3. +0
    -0
      scripts/__init__.py
  4. +24
    -0
      setup.cfg
  5. +1
    -15
      setup.py

+ 3
- 1
.gitignore View File

@@ -1,3 +1,5 @@
.idea
*.egg-info
*~
*~
dist/
build/

+ 0
- 0
__init__.py View File


+ 0
- 0
scripts/__init__.py View File


+ 24
- 0
setup.cfg View File

@@ -0,0 +1,24 @@
[metadata]
name = ldh_client
version = 0.0.1
description = Liberty CLI is a user-facing command-line client for interacting with a Liberty Deckplan Host (LDH).
license = AGPL-3.0-or-later
author = Purism SPC
author_email = liberty@puri.sm
url = https://source.puri.sm/liberty/ldh_client
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)

[options]
packages = find:
include_package_data = True
install_requires =
click>=6.7
PyGObject>=3.32.0
requests>=2.21.0

[options.entry_points]
console_scripts =
liberty = scripts.liberty:cli

+ 1
- 15
setup.py View File

@@ -1,17 +1,3 @@
from setuptools import setup, find_packages

setup(
name='ldh_client',
version='0.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click',
'requests',
'PyGObject',
],
entry_points='''
[console_scripts]
liberty=scripts.liberty:cli
''',
)
setup()

Loading…
Cancel
Save