# elispcc - Compiling Emacs Lisp code from the command line
The `elispcc` command-line tool allows compiling Elisp (Emacs Lisp) code efficiently, providing optimized .elc and .eln files for improved performance in Emacs.
This tool simplifies the compilation of Emacs Lisp (Elisp) code by generating optimized .elc and .eln files directly from the command line. Utilizing Emacs, it recursively compiles all Elisp files within a specified directory. The tool supports various compilation configurations, enabling users to adapt the process to their specific needs.
With an emphasis on simplicity and efficiency, it offers a powerful solution for managing and optimizing Emacs Lisp codebases from the command line.
## Installation
```
pip install --user git+https://github.com/jamescherti/elispcc
```
The pip command above will install the `elispcc` executable in the directory `~/.local/bin/`.
## Usage
```
usage: elispcc [--option] [args]
Recursively byte-compile and native-compile .el files.
positional arguments:
N The directories to be scanned recursively by Emacs to locate the '.el' files for compilation.
options:
-h, --help show this help message and exit
-c ELN_CACHE, --eln-cache ELN_CACHE
The eln-cache directory where Emacs stores the compiled native compiled code. Default: ~/.emacs.d/eln-cache
```
## License
Copyright (c) [James Cherti](https://www.jamescherti.com).
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
## Links
- [The 'elispcc' Git repository](https://github.com/jamescherti/elispcc)
Raw data
{
"_id": null,
"home_page": "https://github.com/jamescherti/elispcc",
"name": "elispcc",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.6",
"maintainer_email": null,
"keywords": null,
"author": "James Cherti",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/bb/98/c96a2c5faff4cbf5f255bfebba9b3fe4c5170a169d1cea0ebfbbae11c5b8/elispcc-1.0.0.tar.gz",
"platform": null,
"description": "# elispcc - Compiling Emacs Lisp code from the command line\n\nThe `elispcc` command-line tool allows compiling Elisp (Emacs Lisp) code efficiently, providing optimized .elc and .eln files for improved performance in Emacs.\n\nThis tool simplifies the compilation of Emacs Lisp (Elisp) code by generating optimized .elc and .eln files directly from the command line. Utilizing Emacs, it recursively compiles all Elisp files within a specified directory. The tool supports various compilation configurations, enabling users to adapt the process to their specific needs.\n\nWith an emphasis on simplicity and efficiency, it offers a powerful solution for managing and optimizing Emacs Lisp codebases from the command line.\n\n## Installation\n\n```\npip install --user git+https://github.com/jamescherti/elispcc\n```\n\nThe pip command above will install the `elispcc` executable in the directory `~/.local/bin/`.\n\n## Usage\n\n```\nusage: elispcc [--option] [args]\n\nRecursively byte-compile and native-compile .el files.\n\npositional arguments:\n N The directories to be scanned recursively by Emacs to locate the '.el' files for compilation.\n\noptions:\n -h, --help show this help message and exit\n -c ELN_CACHE, --eln-cache ELN_CACHE\n The eln-cache directory where Emacs stores the compiled native compiled code. Default: ~/.emacs.d/eln-cache\n```\n\n## License\n\nCopyright (c) [James Cherti](https://www.jamescherti.com).\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.\n\n## Links\n\n- [The 'elispcc' Git repository](https://github.com/jamescherti/elispcc)\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/jamescherti/elispcc"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f7c3eceb3d9771acbff69d7329c1c7e1c4809f60c7515377a323a5a746a85ae1",
"md5": "d5d02e63401e46d9106cea9725c0884a",
"sha256": "942ed2454e0c360314cdcbfe554e1023499b6d485961f15710fa24c3e061bcfc"
},
"downloads": -1,
"filename": "elispcc-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d5d02e63401e46d9106cea9725c0884a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.6",
"size": 4952,
"upload_time": "2024-07-18T22:38:49",
"upload_time_iso_8601": "2024-07-18T22:38:49.568560Z",
"url": "https://files.pythonhosted.org/packages/f7/c3/eceb3d9771acbff69d7329c1c7e1c4809f60c7515377a323a5a746a85ae1/elispcc-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bb98c96a2c5faff4cbf5f255bfebba9b3fe4c5170a169d1cea0ebfbbae11c5b8",
"md5": "1646936a6cc9d90a616d3b7ee695ec91",
"sha256": "40ae3027b5995f01475beb50281b7748cf92994cb07c1ec17f222de18bcf2359"
},
"downloads": -1,
"filename": "elispcc-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "1646936a6cc9d90a616d3b7ee695ec91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.6",
"size": 5773,
"upload_time": "2024-07-18T22:38:50",
"upload_time_iso_8601": "2024-07-18T22:38:50.654334Z",
"url": "https://files.pythonhosted.org/packages/bb/98/c96a2c5faff4cbf5f255bfebba9b3fe4c5170a169d1cea0ebfbbae11c5b8/elispcc-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-18 22:38:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jamescherti",
"github_project": "elispcc",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "elispcc"
}