Skip to content

Commit cefb959

Browse files
committed
Added briefcase project. Added numpy and pandas as dependencies.
1 parent a37293a commit cefb959

File tree

13 files changed

+258
-6
lines changed

13 files changed

+258
-6
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# OSX useful to ignore
7+
*.DS_Store
8+
.AppleDouble
9+
.LSOverride
10+
11+
# Thumbnails
12+
._*
13+
14+
# Files that might appear in the root of a volume
15+
.DocumentRevisions-V100
16+
.fseventsd
17+
.Spotlight-V100
18+
.TemporaryItems
19+
.Trashes
20+
.VolumeIcon.icns
21+
.com.apple.timemachine.donotpresent
22+
23+
# Directories potentially created on remote AFP share
24+
.AppleDB
25+
.AppleDesktop
26+
Network Trash Folder
27+
Temporary Items
28+
.apdisk
29+
30+
# C extensions
31+
*.so
32+
33+
# Distribution / packaging
34+
.Python
35+
env/
36+
build/
37+
develop-eggs/
38+
dist/
39+
downloads/
40+
eggs/
41+
.eggs/
42+
lib/
43+
lib64/
44+
parts/
45+
sdist/
46+
var/
47+
*.dist-info/
48+
*.egg-info/
49+
.installed.cfg
50+
*.egg
51+
52+
# IntelliJ Idea family of suites
53+
.idea
54+
*.iml
55+
## File-based project format:
56+
*.ipr
57+
*.iws
58+
## mpeltonen/sbt-idea plugin
59+
.idea_modules/
60+
61+
# Briefcase log files
62+
logs/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# PythonFramework Release Notes
2+
3+
## 0.0.1 (28 Feb 2025)
4+
5+
* Initial release
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2025, RealLast
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PythonFramework
2+
===============
3+
4+
**This cross-platform app was generated by** `Briefcase`_ **- part of**
5+
`The BeeWare Project`_. **If you want to see more tools like Briefcase, please
6+
consider** `becoming a financial member of BeeWare`_.
7+
8+
Helper project to compile a python interpreter and dependencies using briefcase.
9+
10+
.. _`Briefcase`: https://briefcase.readthedocs.io/
11+
.. _`The BeeWare Project`: https://beeware.org/
12+
.. _`becoming a financial member of BeeWare`: https://beeware.org/contributing/membership
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# This project was generated with 0.3.22 using template: https://github.com/beeware/[email protected]
2+
[tool.briefcase]
3+
project_name = "PythonFramework"
4+
bundle = "com.swiftpython"
5+
version = "0.0.1"
6+
url = "https://github.com/RealLast/SwiftPython"
7+
license.file = "LICENSE"
8+
author = "RealLast"
9+
author_email = "[email protected]"
10+
11+
[tool.briefcase.app.pythonframework]
12+
formal_name = "PythonFramework"
13+
description = "Helper project to compile a python interpreter and dependencies using briefcase."
14+
long_description = """More details about the app should go here.
15+
"""
16+
sources = [
17+
"src/pythonframework",
18+
]
19+
test_sources = [
20+
"tests",
21+
]
22+
23+
requires = [
24+
# Add your cross-platform app requirements here
25+
"numpy",
26+
"pandas"
27+
]
28+
test_requires = [
29+
# Add your cross-platform test requirements here
30+
]
31+
32+
[tool.briefcase.app.pythonframework.macOS]
33+
universal_build = true
34+
requires = [
35+
# Add your macOS-specific app requirements here
36+
]
37+
38+
[tool.briefcase.app.pythonframework.linux]
39+
requires = [
40+
# Add your Linux-specific app requirements here
41+
]
42+
43+
[tool.briefcase.app.pythonframework.linux.system.debian]
44+
system_requires = [
45+
# Add any system packages needed at build the app here
46+
]
47+
48+
system_runtime_requires = [
49+
# Add any system packages needed at runtime here
50+
]
51+
52+
[tool.briefcase.app.pythonframework.linux.system.rhel]
53+
system_requires = [
54+
# Add any system packages needed at build the app here
55+
]
56+
57+
system_runtime_requires = [
58+
# Add any system packages needed at runtime here
59+
]
60+
61+
[tool.briefcase.app.pythonframework.linux.system.suse]
62+
system_requires = [
63+
# Add any system packages needed at build the app here
64+
]
65+
66+
system_runtime_requires = [
67+
# Add any system packages needed at runtime here
68+
]
69+
70+
[tool.briefcase.app.pythonframework.linux.system.arch]
71+
system_requires = [
72+
# Add any system packages needed at build the app here
73+
]
74+
75+
system_runtime_requires = [
76+
# Add any system packages needed at runtime here
77+
]
78+
79+
[tool.briefcase.app.pythonframework.linux.flatpak]
80+
flatpak_runtime = "org.freedesktop.Platform"
81+
flatpak_runtime_version = "24.08"
82+
flatpak_sdk = "org.freedesktop.Sdk"
83+
84+
[tool.briefcase.app.pythonframework.windows]
85+
requires = [
86+
# Add your Windows-specific app requirements here
87+
]
88+
89+
# Mobile deployments
90+
[tool.briefcase.app.pythonframework.iOS]
91+
requires = [
92+
# Add your iOS-specific app requirements here
93+
]
94+
95+
[tool.briefcase.app.pythonframework.android]
96+
requires = [
97+
# Add your Android-specific app requirements here
98+
]
99+
100+
# Web deployments
101+
[tool.briefcase.app.pythonframework.web]
102+
requires = [
103+
# Add your web-specific app requirements here
104+
]
105+

PythonFramework/compile/pythonframework/src/pythonframework/__init__.py

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from pythonframework.app import main
2+
3+
if __name__ == "__main__":
4+
main()
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""
2+
Helper project to compile a python interpreter and dependencies using briefcase.
3+
"""
4+
5+
6+
def main():
7+
# Your app logic goes here
8+
print("Hello, World.")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Put any application resources (e.g., icons and resources) here;
2+
they can be referenced in code as "resources/filename".

PythonFramework/compile/pythonframework/tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)