-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (32 loc) · 863 Bytes
/
setup.py
File metadata and controls
39 lines (32 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile("mycode/__init__.py")
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'mycode'
]
requires = []
setup(
name='nose-mycode',
version=.__version__,
description='Produces a colour coded nose stack trace',
author='Hansel Dunlop, Jarek Dziedzic, Greg, Tina Zhang',
author_email='aychedee@github.com, jarekdziedzic@github.com, arachnegl@github.com, ttz21@github.com',
url='https://github.com/nose-my-code/nose-my-code',
packages=packages,
include_package_data=True,
install_requires=requires,
license='BSD',
zip_safe=False,
entry_points = {
'nose.plugins.0.10': [
'mycode = mycode:MyCode'
]
}
)