Skip to content

Commit

Permalink
Addec cyperf package in testpypi.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmajumdarKS committed Sep 23, 2024
1 parent f1e5f5d commit edcdec9
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 77 deletions.
4 changes: 4 additions & 0 deletions cyperf/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# import utils into util package
from cyperf.utils.test import TestConfig
from cyperf.utils.test import TestRunner
1 change: 0 additions & 1 deletion cyperf/utils/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import datetime
import re
import urllib3
import requests
from pprint import pprint

import cyperf
Expand Down
21 changes: 0 additions & 21 deletions envs/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions envs/build-test-env.sh

This file was deleted.

14 changes: 0 additions & 14 deletions envs/entrypoint.sh

This file was deleted.

77 changes: 52 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,60 @@
[tool.poetry]
name = "cyperf_api"
version = "1.0.0"
description = "CyPerf Application API"
authors = ["Partha Majumdar <[email protected]>"]
license = "LICENSE"
readme = "README.md"
repository = "https://github.com/pmajumdarKS/cyperf"
keywords = ["OpenAPI", "OpenAPI-Generator", "CyPerf Application API"]
include = ["cyperf/py.typed"]
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"

[tool.poetry.dependencies]
python = "^3.7"
[project]
name = "cyperf-api"
dynamic = ["version"]
description = "CyPerf REST API"
readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE"}
keywords = ["CyPerf", "CyPerf REST API", "CyPerf Python", "CyPerf wrapper", "CyPerf Python wrapper"]
authors = [
{name = "Partha Majumdar", email = "[email protected]" }
]
maintainers = [
{name = "Partha Majumdar", email = "[email protected]" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"urllib3>= 1.25.3",
"python-dateutil>=2.8.2",
"pydantic>=2",
"typing-extensions>=4.7.1",
]

urllib3 = ">= 1.25.3"
python-dateutil = ">=2.8.2"
pydantic = ">=2"
typing-extensions = ">=4.7.1"
[project.urls]
Documentation = "https://github.com/pmajumdarKS/cyperf#readme.md"
Issues = "https://github.com/pmajumdarKS/cyperf/issues"
Source = "https://github.com/pmajumdarKS/cyperf"

[tool.poetry.dev-dependencies]
pytest = ">=7.2.1"
tox = ">=3.9.0"
flake8 = ">=4.0.0"
types-python-dateutil = ">=2.8.19.14"
mypy = "1.4.1"
[project.optional-dependencies]
dev = [
"pytest>=7.2.1",
"tox>=3.9.0",
"flake8>=4.0.0",
"types-python-dateutil>=2.8.19.14",
"mypy==1.4.1",
]

[project.entry-points."setuptools.finalize_distribution_options"]
setuptools_scm = "setuptools_scm._integration.setuptools:infer_version"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# Empty is fine

[tool.pylint.'MESSAGES CONTROL']
extension-pkg-whitelist = "pydantic"
Expand Down
15 changes: 5 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "cyperf_api"
VERSION = "1.0.0"
NAME = "cyperf-api"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand All @@ -32,18 +31,14 @@

setup(
name=NAME,
version=VERSION,
description="CyPerf Application API",
author="OpenAPI Generator community",
author_email="[email protected]",
url="",
description="CyPerf REST API",
author="Partha Majumdar",
author_email="[email protected]",
url="https://github.com/pmajumdarKS/cyperf",
keywords=["OpenAPI", "OpenAPI-Generator", "CyPerf Application API"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
long_description_content_type='text/markdown',
long_description="""\
CyPerf REST API
""", # noqa: E501
package_data={"cyperf": ["py.typed"]},
)
3 changes: 0 additions & 3 deletions test-env.sh

This file was deleted.

0 comments on commit edcdec9

Please sign in to comment.