Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [Please help with Noml 0.3!] Noml -- The text editor --
- DifferentDance8
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
It's the Noml 0.3 release date today…So does that mean Noml 0.3 is going to release?
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Well I was going to release Pulanger today so Noml 0.3 is likely going to be pushed back, I am not sure how we can implement all of the features in ONE DAY. I only did a bit of work on pages.It's the Noml 0.3 release date today…So does that mean Noml 0.3 is going to release?
- DifferentDance8
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
What the everloving frick even is Pulanger?Well I was going to release Pulanger today so Noml 0.3 is likely going to be pushed back, I am not sure how we can implement all of the features in ONE DAY. I only did a bit of work on pages.It's the Noml 0.3 release date today…So does that mean Noml 0.3 is going to release?
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Why should we be discussing that on Noml's thread? (It's a static web application framework which provides stuff like layouts and variable substitution while compiling to vanilla HTML, CSS, JS and Python with no dependencies)What the everloving frick even is Pulanger?Well I was going to release Pulanger today so Noml 0.3 is likely going to be pushed back, I am not sure how we can implement all of the features in ONE DAY. I only did a bit of work on pages.It's the Noml 0.3 release date today…So does that mean Noml 0.3 is going to release?
- MagicCrayon9342
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
For Linux and MacOS, a Makefile would be more suitable.
Last edited by MagicCrayon9342 (Oct. 15, 2023 15:34:05)
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
For Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?
Last edited by __Falcon-Games__ (Oct. 15, 2023 15:36:25)
- MagicCrayon9342
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
It has nothing to do with what the program is written in, a Makefile is for compilation, installation, and uninstallation of programs. You can addFor Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?
#!/usr/bin/env python3
make install
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Okay but can you answer my second question?It has nothing to do with what the program is written in, a Makefile is for compilation, installation, and uninstallation of programs. You can addFor Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?to the top of the file, make it executable, and put it in /usr/bin (or I believe /usr/local/bin on MacOS) and it can simply be ran from any terminal no matter the current working directory. Do this with the make file, so that the user (if on Linux or MacOS) can simply run#!/usr/bin/env python3and the program will be installed. No need for installing additional dependencies just for the installer. I also recommend compiling the code to a single binary so that all dependencies are bundled instead of needing to be installed.make install
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Someone please help.
- ajskateboarder
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
You would need GNU Make for that, which is not necessarily easy to install compared to just running a Python scriptIt has nothing to do with what the program is written in, a Makefile is for compilation, installation, and uninstallation of programs. You can addFor Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?to the top of the file, make it executable, and put it in /usr/bin (or I believe /usr/local/bin on MacOS) and it can simply be ran from any terminal no matter the current working directory. Do this with the make file, so that the user (if on Linux or MacOS) can simply run#!/usr/bin/env python3and the program will be installed. No need for installing additional dependencies just for the installer. I also recommend compiling the code to a single binary so that all dependencies are bundled instead of needing to be installed.make install
- MagicCrayon9342
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Most distributions do one of two things:You would need GNU Make for that, which is not necessarily easy to install compared to just running a Python scriptIt has nothing to do with what the program is written in, a Makefile is for compilation, installation, and uninstallation of programs. You can addFor Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?to the top of the file, make it executable, and put it in /usr/bin (or I believe /usr/local/bin on MacOS) and it can simply be ran from any terminal no matter the current working directory. Do this with the make file, so that the user (if on Linux or MacOS) can simply run#!/usr/bin/env python3and the program will be installed. No need for installing additional dependencies just for the installer. I also recommend compiling the code to a single binary so that all dependencies are bundled instead of needing to be installed.make install
1. Have it preinstalled
2. Have it in the repositories
If it's in the repos it takes one command and a few seconds to install it.
- ajskateboarder
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Windows?Most distributions do one of two things:You would need GNU Make for that, which is not necessarily easy to install compared to just running a Python scriptIt has nothing to do with what the program is written in, a Makefile is for compilation, installation, and uninstallation of programs. You can addFor Linux and MacOS, a Makefile would be more suitable.It's written in Python. Also how in the world did you find this topic?to the top of the file, make it executable, and put it in /usr/bin (or I believe /usr/local/bin on MacOS) and it can simply be ran from any terminal no matter the current working directory. Do this with the make file, so that the user (if on Linux or MacOS) can simply run#!/usr/bin/env python3and the program will be installed. No need for installing additional dependencies just for the installer. I also recommend compiling the code to a single binary so that all dependencies are bundled instead of needing to be installed.make install
1. Have it preinstalled
2. Have it in the repositories
If it's in the repos it takes one command and a few seconds to install it.
- davidtheplatform
-
Scratcher
500+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Why would you even need a makefile for a python script? if it just copies the file to /usr/bin or adds a shortcut to the start menu you could just make a normal shell/bash script. You also could bundle it with python using pyinstaller so it works exactly like a normal program and doesn't even need python
- MagicCrayon9342
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Why would you even need a makefile for a python script? if it just copies the file to /usr/bin or adds a shortcut to the start menu you could just make a normal shell/bash script. You also could bundle it with python using pyinstaller so it works exactly like a normal program and doesn't even need pythonHow is your installer superior to a makefile?
- davidtheplatform
-
Scratcher
500+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
How is a makefile better than a shell script?Why would you even need a makefile for a python script? if it just copies the file to /usr/bin or adds a shortcut to the start menu you could just make a normal shell/bash script. You also could bundle it with python using pyinstaller so it works exactly like a normal program and doesn't even need pythonHow is your installer superior to a makefile?
If you're on linux you probably have make installed, but you definitely have sh or bash or zsh or whatever installed.
If you're on windows, you probably don't have make installed and it's kind of a pain to do so. You can definitely run batch files.
Make is intended as a dependency management tool. Python has pip. You could have a makefile that installs the program, or you could have a batch/shell script that works on windows too.
Basically make is overkill and may not be installed on a users system, while there are alternatives that do the same thing and are installed
Also I have a github actions thing that packages noml into a single file but it isn't complete yet
- gamer20132020
-
Scratcher
100+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Last login: Sun Oct 15 15:31:01 on console
zain@Kholoods-MacBook-Pro ~ % curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh -OL && bash install.sh && rm install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1438 100 1438 0 0 3218 0 –:–:– –:–:– –:–:– 3260
Welcome to the Noml installer!
Enter the installation directory for Noml: files
Cloning Noml from GitHub…
Noml installed successfully!
Adding Noml path to PYTHONPATH…
PYTHONPATH updated successfully!
Alias ‘noml’ to the Noml app.py file…
Alias ‘noml’ added successfully!
Installation has finished!
You can now run ‘noml’ to start the text editor.
zain@Kholoods-MacBook-Pro ~ % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro ~ % cd files
zain@Kholoods-MacBook-Pro files % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/Files/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro files %
zain@Kholoods-MacBook-Pro ~ % curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh -OL && bash install.sh && rm install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1438 100 1438 0 0 3218 0 –:–:– –:–:– –:–:– 3260
Welcome to the Noml installer!
Enter the installation directory for Noml: files
Cloning Noml from GitHub…
Noml installed successfully!
Adding Noml path to PYTHONPATH…
PYTHONPATH updated successfully!
Alias ‘noml’ to the Noml app.py file…
Alias ‘noml’ added successfully!
Installation has finished!
You can now run ‘noml’ to start the text editor.
zain@Kholoods-MacBook-Pro ~ % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro ~ % cd files
zain@Kholoods-MacBook-Pro files % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/Files/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro files %
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
Last login: Sun Oct 15 15:31:01 on consoleDon't use the installer right now.
zain@Kholoods-MacBook-Pro ~ % curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh -OL && bash install.sh && rm install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1438 100 1438 0 0 3218 0 –:–:– –:–:– –:–:– 3260
Welcome to the Noml installer!
Enter the installation directory for Noml: files
Cloning Noml from GitHub…
Noml installed successfully!
Adding Noml path to PYTHONPATH…
PYTHONPATH updated successfully!
Alias ‘noml’ to the Noml app.py file…
Alias ‘noml’ added successfully!
Installation has finished!
You can now run ‘noml’ to start the text editor.
zain@Kholoods-MacBook-Pro ~ % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro ~ % cd files
zain@Kholoods-MacBook-Pro files % noml
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file ‘/Users/zain/Files/noml/Noml/app.py’: No such file or directory
zain@Kholoods-MacBook-Pro files %
- ajskateboarder
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
How come nobody here has heard of pipes?curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh -OL && bash install.sh && rm install.sh
curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh | bash
- __Falcon-Games__
-
Scratcher
1000+ posts
[Please help with Noml 0.3!] Noml -- The text editor --
I have but my brain was too stupid at that moment to remember they existed.How come nobody here has heard of pipes?curl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh -OL && bash install.sh && rm install.shcurl https://raw.githubusercontent.com/GenericProgrammer1234/Noml/main/install.sh | bash
- Discussion Forums
- » Advanced Topics
-
» [Please help with Noml 0.3!] Noml -- The text editor --