All Projects → maet3608 → minimal-setup-py

maet3608 / minimal-setup-py

Licence: other
An example for a minimal setup.py

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to minimal-setup-py

macstrap
Set up your macOS from scratch.
Stars: ✭ 16 (-62.79%)
Mutual labels:  setup
vue3-tutorial
Vue3.2、Vite、setup、echarts、composition API
Stars: ✭ 302 (+602.33%)
Mutual labels:  setup
travis
⛔ ARCHIVED ⛔ Set Up 'Travis' for Testing and Deployment
Stars: ✭ 61 (+41.86%)
Mutual labels:  setup
ts-node-starter
GitHub template to get started with Node.js & TypeScript. ⚡
Stars: ✭ 28 (-34.88%)
Mutual labels:  setup
efi shell flash bios
use efi shell to flash_bios uefi shell强刷bios grub efi shell 解锁bios 隐藏菜单选项 ami
Stars: ✭ 38 (-11.63%)
Mutual labels:  setup
dvc dask use case
A use case of a reproducible machine learning pipeline using Dask, DVC, and MLflow.
Stars: ✭ 22 (-48.84%)
Mutual labels:  setup
dotfiles
🔨 My dotfiles for setting up my Macs with Ansible
Stars: ✭ 31 (-27.91%)
Mutual labels:  setup
raspberry-pi-3-setup
My Raspberry Pi 3 setup instructions and notes
Stars: ✭ 35 (-18.6%)
Mutual labels:  setup
Post-Tweaks
A post-installation batch script for Windows
Stars: ✭ 136 (+216.28%)
Mutual labels:  setup
Windows-Python-RAT
A New Microsoft Windows Remote Administrator Tool [RAT] with Python by Sir.4m1R.
Stars: ✭ 70 (+62.79%)
Mutual labels:  setup
wordless gem
The quickest CLI tool to setup a new WordPress locally. Wordless ready.
Stars: ✭ 38 (-11.63%)
Mutual labels:  setup
awesome-scripts
Set of scripts that can do awesome stuff for developers
Stars: ✭ 16 (-62.79%)
Mutual labels:  setup
spdlog setup
spdlog setup initialization via file configuration for convenience.
Stars: ✭ 68 (+58.14%)
Mutual labels:  setup
sloth-app
Sloth desktop app
Stars: ✭ 16 (-62.79%)
Mutual labels:  setup
cpsetup
Intuitive bash/shell script to setup and harden/configure cPanel CentOS/RHEL server with ConfigServer Firewall, MailManage, MailQueue, Malware Detect, ClamAV, mod_cloudflare, CloudFlare RailGun, and many more applications and security tweaks
Stars: ✭ 42 (-2.33%)
Mutual labels:  setup
setup-sp
This action sets-up, cache and adds sourcemod scripting directory to the path
Stars: ✭ 30 (-30.23%)
Mutual labels:  setup
dotfiles
My awesomewm dotfiles for awesome people! ✨
Stars: ✭ 1,764 (+4002.33%)
Mutual labels:  setup
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-69.77%)
Mutual labels:  setup
vscode-terminals
An extension for setting-up multiple terminals at once, or just running some commands.
Stars: ✭ 83 (+93.02%)
Mutual labels:  setup
mac-dev-setup
An easy script to install your mac dev environment
Stars: ✭ 38 (-11.63%)
Mutual labels:  setup

A minimal setup.py

It is easy to start with Python scripting but soon the number of files and their dependecies start to grow. An all-to-common solution to fix the then occuring errors regarding functions not found or modules that cannot be imported is to modify PYTHONPATH. Don't do it!

setup.py avoids all the problems that come with tweaking Python's search path and will give you packages that can easily be installed on other machines. Unfortunately the documentation on how to create setup.py is rather complex and intimidating. A simple, minimal example is lacking.

Well here it is! Put it in the root folder of your project folder, adjust the properties such as author's name, install requirements, make sure you have __init.py__ files for all packages and you are good to go.

Use one of the following commands for installation:

python setup.py install

or

python setup.py develop

p.s. A nice introdution on how to write setup.py can be found here.

See python-packaging for a great tutorial and example of a complete Python package.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].