########
Project generator for Nintendo Switch homebrews. A work in progress.
Installation
============
Install from PyPi using `pip <http://www.pip-installer.org/en/latest>`_, a package manager for
Python.
.. code-block:: bash
$ pip install nxstart
Don't have pip installed? Try installing it, by running this from the
command line:
.. code-block:: bash
$ curl https://bootstrap.pypa.io/get-pip.py | python
Or, you can `download the source code <https://github.com/roedesh/nxstart>`_ for ``nxstart`` and then run:
.. code-block:: bash
$ python setup.py install
You may need to run the above commands with ``sudo``.
Creating a C++ (libnx) project
===============
Run ``nxstart cpp``. It will ask for a project name, author name and if you are
using CLion (IDE by Jetbrains). If you say yes to CLion, ``CMakeLists.txt`` will be included.
The following project structure will be created:
.. code-block:: bash
project
│ CMakeLists.txt // Only if you use CLion
│ Makefile
│ icon.jpg
│ README.md
│
└───data
│
└───include
│
└───source
│ main.cpp // Your main application file
Creating a JS (BrewJS) project
===============
Run ``nxstart js``. It will ask for a project name, author name. The following project structure will be created:
.. code-block:: bash
project
│ .editorconfig
│ HOW-TO-RUN.txt // Explains how to run a BrewJS app on the Switch.
│ index.js // Your main application file
│
└───assets
│
Skip prompts
===============
To skip the prompts, provide the necessary flags. For example:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" cpp --clion
Or if you don't use CLion:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" cpp --no-clion
Support for
`PyNX <https://github.com/nx-python/PyNX>`_ projects will be added soon.
Metadata
Release files for nxstart 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nxstart-0.2.1.tar.gz | 28.0 kB | Without provenance | Details for nxstart-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nxstart-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for nxstart-0.2.1-py3-none-any.whl |
Total release size: 59.7 kB
Release files / nxstart-0.2.1.tar.gz
| Download URL | nxstart-0.2.1.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d7f315433f3e7e991cccac96a2c9380c70036fcdb3cc0b6f0087563e316e33c
|
|
BLAKE2b-256 checksum How to use checksums |
f24a9c1cbf9cf8d5dad40ac141a6bcf13b4ed983c6ae1c4bfcdb3c35a939071e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / nxstart-0.2.1-py3-none-any.whl
| Download URL | nxstart-0.2.1-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9e60b369abdec122dba30108cc41269a0d4eab9dc523f71899a871523496b6a
|
|
BLAKE2b-256 checksum How to use checksums |
490d02af1cb6ed6255d9c110275373db393c62df04410f0d06715c756a605daa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nxstart 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.