forked from AtlasPilotPuppy/python_test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·40 lines (32 loc) · 797 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·40 lines (32 loc) · 797 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
40
from setuptools import setup, find_packages
from distutils.core import Command
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
requires = [
'py==1.4.18',
'pytest==2.4.2',
'wsgiref==0.1.2',
]
setup(
name="pychallenge",
version="1.0.0",
packages=find_packages(),
package_data={
'pychallenge': [
'*.*',
]
},
cmdclass={'test': PyTest},
scripts=["bin/nth-prime.py", "bin/palindrome-product.py"],
install_requires=requires,
long_description="Python Coding Challenge"
)