https://github.com/sourdoughcat/script2package
script2package is a simple CLI tool which converts a script into a Python Package
https://github.com/sourdoughcat/script2package
Last synced: 6 months ago
JSON representation
script2package is a simple CLI tool which converts a script into a Python Package
- Host: GitHub
- URL: https://github.com/sourdoughcat/script2package
- Owner: SourdoughCat
- License: mit
- Created: 2016-12-14T10:54:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-20T10:05:29.000Z (over 8 years ago)
- Last Synced: 2024-12-09T00:10:16.112Z (6 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/py/script2package)
script2package
==============script2package is a Python script which converts a single python script into a package which can then be installed via `python setup.py install`.
Usage: `script2package script.py --base base_folder`
To extend the flexibility of this package, you can enable setup options through
providing `setup.cfg` if you so desire.Installation
============You can install this package via `pip` (`pip install script2package`) or `python setup.py install`.
Examples
========A bootstrap example has been provided by running `script2package script2package.py`, which will produce a self contained version within the folder `package`.
A simple standalone example with no `setup.cfg` file is provided in `Example/add/add.py` with the generated package in `Example/add/package`.
Similar Projects
================[`flit`](https://github.com/takluyver/flit) is a similar Python project which aims to convert a Python script into a Python wheel file.