-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix - Publish / Implement Source Build Pipeline (#23)
* Update copyright, versioning, change directory structure * Move source build to most recent schema * Rewrite the package publish pipeline Ref: #23
- Loading branch information
Showing
25 changed files
with
333 additions
and
330 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,26 +1,27 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
release: | ||
types: [created] | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Setup Python (3.8) | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
- name: Upgrade Pip, Build, Twine | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install --upgrade build | ||
python -m pip install twine | ||
- name: Build Source | ||
run: | | ||
python -m build | ||
- name: Publish Source | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
twine upload dist/* |
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,4 +2,5 @@ | |
notes.txt | ||
*.pyc | ||
**/__pycache__ | ||
.vscode | ||
.vscode | ||
.dist |
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 @@ | ||
3.9.4 |
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 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,5 +1,4 @@ | ||
import asyncio | ||
import aiohttp | ||
from pyblox3 import Groups_v1 | ||
|
||
# Instance your group as a variable | ||
|
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 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "pyblox3" | ||
version = "3.0-beta.6" | ||
authors = [ | ||
{ name="Sanjay Bhadra", email="[email protected]" } | ||
] | ||
description = "An API wrapper for Roblox written in Python" | ||
readme = "README.md" | ||
license = { file="LICENSE" } | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"aiohttp", | ||
"asyncio", | ||
"httpx", | ||
"pytest" | ||
] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3", | ||
"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 :: 3.13" | ||
] | ||
keywords = [ | ||
"Python", "Roblox", "API", "Wrapper", "Library", "Python3", "API-Wrapper", "RobloxDev", | ||
"Roblox-API", "Game Development", "Automation", "Scripting", "HTTP Requests", | ||
"JSON", "Authentication", "User Management", "Asset Management", "Game Analytics", | ||
"Server Communication", "Data Parsing", "Web Scraping", "Multiplayer Games", | ||
"Community Engagement", "Player Data", "Game Sessions", "Inventory Management", "Platform Integration", | ||
"Cloud Services", "Social Features", "Development Tools", "Content Creation", "Security", | ||
"Rate Limiting", "Error Handling", "Open Source", "Collaboration", "Version Control", | ||
"Documentation", "Tutorials", "User Support", "Performance Optimization", "Cross-platform", | ||
"Event Handling", "Asynchronous Programming", "Dependency Management", "Unit Testing", | ||
"Continuous Integration", "Deployment", "Community Contributions", "Licensing" | ||
] | ||
|
||
[project.urls] | ||
Repository = "https://github.com/RbxAPI/Pyblox/tree/nightly_build" | ||
Issues = "https://github.com/RbxAPI/Pyblox/issues" | ||
Source = "https://github.com/RbxAPI/Pyblox" | ||
Discord = "https://discord.com/invite/EDXNdAT" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = [ | ||
"src", | ||
"pyblox3.webapi", | ||
"pyblox3.webapi.util" | ||
] |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# __init__.py | ||
# pyblox | ||
# | ||
# By sbhadr (Sanjay Bhadra) | ||
# Copyright © 2024- sbhadr (Sanjay Bhadra). All rights reserved. | ||
# | ||
|
||
__title__ = 'pyblox' | ||
__author__ = 'sbhadr' | ||
__version__ = '3.0-beta.6' | ||
__license__ = 'MIT' | ||
__copyright__ = 'Copyright © 2024- sbhadr (Sanjay Bhadra)' | ||
|
||
|
||
# Parent Class Modules | ||
from .webapi.groups import * | ||
from .webapi.users import * | ||
from .webapi.auth import * | ||
from .webapi.abtesting import * | ||
from .webapi.accountInformation import * | ||
from .webapi.privateMessages import * | ||
from .webapi.games import * | ||
|
||
# Utility Modules | ||
from .webapi.util import * |
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 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 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 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 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 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 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
Oops, something went wrong.