test_ok1/setup.py

45 lines
1.1 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from setuptools import setup
# TODO: if py gets upgrade to >=1.6,
# remove _width_of_current_line in terminal.py
INSTALL_REQUIRES = [
"py>=1.5.0",
"six>=1.10.0",
2019-04-07 08:32:47 +08:00
"packaging",
"attrs>=17.4.0",
'more-itertools>=4.0.0,<6.0.0;python_version<="2.7"',
'more-itertools>=4.0.0;python_version>"2.7"',
"atomicwrites>=1.0",
'funcsigs>=1.0;python_version<"3.0"',
'pathlib2>=2.2.0;python_version<"3.6"',
'colorama;sys_platform=="win32"',
2019-04-07 08:32:47 +08:00
"pluggy>=0.12,<1.0",
"importlib-metadata>=0.12",
2019-04-05 23:43:11 +08:00
"wcwidth",
]
def main():
setup(
2018-05-26 15:05:41 +08:00
use_scm_version={"write_to": "src/_pytest/_version.py"},
2018-10-18 02:08:07 +08:00
setup_requires=["setuptools-scm", "setuptools>=40.0"],
2018-05-26 15:05:41 +08:00
package_dir={"": "src"},
# fmt: off
extras_require={
"testing": [
"argcomplete",
"hypothesis>=3.56",
"nose",
"requests",
"mock;python_version=='2.7'",
],
},
# fmt: on
install_requires=INSTALL_REQUIRES,
)
2018-05-23 22:48:46 +08:00
if __name__ == "__main__":
main()