Permalink
Browse files

meta_setup bad idea

  • Loading branch information...
stnbu committed Sep 1, 2018
1 parent 80dd403 commit ef31916361a3647a5fb37be13d9d10844b2c0c3f
Showing with 28 additions and 3 deletions.
  1. +28 −3 setup.py
@@ -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],
)

0 comments on commit ef31916

Please sign in to comment.