NSLS-II / wishlist

an issue tracker for the big picture
1 stars 0 forks source link

Document "how to turn your folder of scripts into an installable package" #27

Open danielballan opened 9 years ago

danielballan commented 9 years ago

Question: what is minimal acceptable effort? I propose:

  1. Make this setup.py
from setuptools import setup

setup(name='mypkg', version=0.0.1, py_modules['my_file1', 'my_file2', ...])
  1. Put it under version control
git init
git add .

The rest is details.