Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@@ -1,6 +1,31 @@ | ||
# -*- mode: python; coding: utf-8 -*- | ||
|
||
from mutil.pypi import meta_setup | ||
import mutil | ||
_author = 'Mike Burr' | ||
_email = 'mburr@unintuitive.com' | ||
__author__ = '%s <%s>' % (_author, _email) | ||
|
||
meta_setup(mutil) | ||
from distutils.core import setup | ||
import time | ||
|
||
import mutils | ||
package = mutils | ||
|
||
# README.rst dynamically generated: | ||
with open('README.md', 'w') as f: | ||
f.write(package.__doc__) | ||
|
||
name = package.__name__ | ||
|
||
def read(file): | ||
with open(file, 'r') as f: | ||
return f.read().strip() | ||
|
||
setup( | ||
name=name, | ||
version='0.0.1-%s' % time.time(), | ||
long_description=read('README.md'), | ||
author=_author, | ||
author_email=_email, | ||
provides=[name], | ||
packages=[name], | ||
) |