Skip to content

Commit fc2b586

Browse files
committed
Added GitHub actions.
Moved the metadata into `pyproject.toml`. Removed `setup.py`.
1 parent 3d8ca3a commit fc2b586

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+79
-56
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
allow:
8+
- dependency-type: "all"

.github/workflows/CI.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- name: typical python workflow
13+
uses: KOLANICH-GHActions/typical-python-workflow@master
14+
with:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
__pycache__
2-
*.pyc
3-
*.pyo
2+
*.py[co]
43
/monkeytype.sqlite3
54
/CocoPy.egg-info
65
/build

pyproject.toml

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,59 @@
11
[build-system]
2-
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
2+
requires = ["setuptools>=61.2.0", "setuptools_scm[toml]>=3.4.3"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "CocoPy"
7+
authors = [{name = "Ron Longo", email = "ron.longo@cox.net"}]
8+
description = "Python implementation of the famous CoCo/R LL(k) compiler generator."
9+
readme = "ReadMe.md"
10+
keywords = ["parser", "generator"]
11+
license = {text = "GPL-3.0"}
12+
classifiers = [
13+
"Development Status :: 4 - Beta",
14+
"Environment :: Console",
15+
"Intended Audience :: Developers",
16+
"Intended Audience :: Education",
17+
"Intended Audience :: Information Technology",
18+
"Intended Audience :: Science/Research",
19+
"License :: OSI Approved :: GNU General Public License (GPL)",
20+
"Natural Language :: English",
21+
"Programming Language :: Python",
22+
"Topic :: Scientific/Engineering",
23+
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
24+
"Topic :: Scientific/Engineering :: Information Analysis",
25+
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
26+
"Topic :: Software Development :: Code Generators",
27+
"Topic :: Software Development :: Compilers",
28+
"Topic :: Software Development :: Interpreters",
29+
"Topic :: Software Development :: Pre-processors",
30+
"Topic :: System :: Shells",
31+
"Topic :: Text Processing :: General",
32+
"Topic :: Text Processing :: Linguistic",
33+
]
34+
requires-python = ">=3.4"
35+
dependencies = ["astor"]
36+
dynamic = ["version"]
37+
38+
[project.urls]
39+
"Homepage" = "https://github.com/UniGrammar/CoCoPy"
40+
"Original Homepage" = "https://ssw.uni-linz.ac.at/Research/Projects/Coco/"
41+
"Original User Manual" = "https://ssw.uni-linz.ac.at/Research/Projects/Coco/Doc/UserManual.pdf"
42+
"Other Impls" = "https://github.com/SSW-CocoR"
43+
44+
[tool.setuptools]
45+
zip-safe = true
46+
include-package-data = true
47+
48+
[tool.setuptools.packages.find]
49+
include = ["Coco", "Coco.*", "CoCoRuntime", "CoCoRuntime.*"]
50+
51+
[tool.setuptools.package-data]
52+
documentation = ["*"]
53+
examples = ["*"]
54+
frames = ["*"]
55+
pimaker = ["*"]
56+
sources = ["*"]
57+
testsuite = ["*"]
58+
559
[tool.setuptools_scm]

setup.cfg

Lines changed: 0 additions & 48 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)