dinoboff / github-tools

Helpers for hosting python projects on GitHub
http://dinoboff.github.com/github-tools/
BSD 2-Clause "Simplified" License
87 stars 6 forks source link

pavement.py should not import the package it manages #6

Closed dinoboff closed 15 years ago

dinoboff commented 15 years ago

The package might required other packages to be installed and pavement.py (via setuptools) is suppose to install these package. pavement.py might fail with an ImportError if the package __init__.py need to import one the required package.

The package informations shared by pavement.py and sphinx's conf.py (and package __init__) need to be put somewhere else.

dinoboff commented 15 years ago

Copyright and licence info will be duplicated (in LICENCE docs/sources/conf.py and /src/package_name/__init__.py) as well as the name and email (in pavement.py and /src/package_name/__init__.py)

However the version can be defined in pavement.py and shared with docs/sources/conf.py via the egg's PKG-INFO.

dinoboff commented 15 years ago

losed by 48ac5e97893f521f095bf5c5c28a5b959a36e742