-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1419 from garberg/repackage_pynipap
WIP: Migrate pynipap to setuptools
- Loading branch information
Showing
5 changed files
with
50 additions
and
29 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,14 +2,18 @@ Source: pynipap | |
Maintainer: Lukas Garberg <[email protected]> | ||
Section: python | ||
Priority: optional | ||
Build-Depends: debhelper (>= 10), dh-python, | ||
python3 (>= 3.6) | ||
Build-Depends: debhelper-compat (= 13), | ||
dh-python, | ||
python3-all, | ||
python3-setuptools, | ||
pybuild-plugin-pyproject | ||
X-Python3-Version: >= 3.6 | ||
Standards-Version: 4.4.0 | ||
Standards-Version: 4.6.1 | ||
Homepage: https://spritelink.github.io/NIPAP/ | ||
|
||
Package: python3-pynipap | ||
Architecture: all | ||
Depends: ${misc:Depends}, python3 (>= 3.6) | ||
Depends: ${misc:Depends}, ${python3:Depends} | ||
Breaks: ${python3:Breaks} | ||
Description: Python 3 module for accessing NIPAP | ||
This package contains a client library for NIPAP. It's function is similar to | ||
|
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,39 @@ | ||
[project] | ||
name = "pynipap" | ||
dynamic = ["version", "description"] | ||
readme = "README.rst" | ||
license = {text = "MIT"} | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Python :: 3' | ||
] | ||
keywords = ["nipap"] | ||
|
||
[project.optional-dependencies] | ||
instrumentation = [ | ||
"opentelemetry-api==1.29.0", | ||
"opentelemetry-exporter-otlp==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-common==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-grpc==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-http==1.29.0", | ||
"opentelemetry-proto==1.29.0", | ||
"opentelemetry-sdk==1.29.0", | ||
"opentelemetry-semantic-conventions==0.50b0", | ||
"opentelemetry-util-http==0.50b0" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "http://SpriteLink.github.io/NIPAP" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "pynipap.__version__"} | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
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,31 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from distutils.core import setup | ||
import sys | ||
|
||
import pynipap | ||
from setuptools import setup | ||
|
||
long_desc = open('README.rst').read() | ||
short_desc = long_desc.split('\n')[0].split(' - ')[1].strip() | ||
|
||
setup( | ||
name = 'pynipap', | ||
version = pynipap.__version__, | ||
description = short_desc, | ||
long_description = long_desc, | ||
author = pynipap.__author__, | ||
author_email = pynipap.__author_email__, | ||
license = pynipap.__license__, | ||
url = pynipap.__url__, | ||
packages = ['pynipap'], | ||
keywords = ['nipap'], | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Python :: 3' | ||
] | ||
long_description = long_desc | ||
) |