Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions pythonforandroid/recipes/atom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
from pythonforandroid.recipe import PyProjectRecipe


class AtomRecipe(CppCompiledComponentsPythonRecipe):
site_packages_name = 'atom'
version = '0.3.10'
url = 'https://github.com/nucleic/atom/archive/master.zip'
depends = ['setuptools']
class AtomRecipe(PyProjectRecipe):
site_packages_name = "atom"
version = "0.11.0"
url = "https://files.pythonhosted.org/packages/source/a/atom/atom-{version}.tar.gz"
depends = ["setuptools"]
patches = ["pyproject.toml.patch"]


recipe = AtomRecipe()
12 changes: 12 additions & 0 deletions pythonforandroid/recipes/atom/pyproject.toml.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/pyproject.toml b/pyproject.toml
index d41287f..c83b053 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,6 +40,7 @@
[tool.setuptools]
include-package-data = false
package-data = { atom = ["py.typed", "*.pyi"] }
+ packages = ["atom"]

[tool.setuptools_scm]
write_to = "atom/version.py"
Loading