35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
|
--- /dev/null
|
||
|
+++ setup.py
|
||
|
@@ -0,0 +1,31 @@
|
||
|
+import os
|
||
|
+import re
|
||
|
+from io import open
|
||
|
+
|
||
|
+from setuptools import setup
|
||
|
+
|
||
|
+with open(os.path.join('testpath', '__init__.py'), encoding='utf-8') as f:
|
||
|
+ version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M).group(1)
|
||
|
+
|
||
|
+with open('README.rst', encoding='utf-8') as f:
|
||
|
+ long_description = f.read()
|
||
|
+
|
||
|
+setup(
|
||
|
+ name='testpath',
|
||
|
+ version=version,
|
||
|
+ description='Test utilities for code working with files and commands',
|
||
|
+ long_description=long_description,
|
||
|
+ author='Jupyter Development Team',
|
||
|
+ author_email='jupyter@googlegroups.com',
|
||
|
+ url='https://github.com/jupyter/testpath',
|
||
|
+ license='MIT',
|
||
|
+ packages=['testpath'],
|
||
|
+ classifiers=[
|
||
|
+ 'Intended Audience :: Developers',
|
||
|
+ 'License :: OSI Approved :: MIT License',
|
||
|
+ 'Programming Language :: Python',
|
||
|
+ 'Programming Language :: Python :: 2',
|
||
|
+ 'Programming Language :: Python :: 3',
|
||
|
+ 'Topic :: Software Development :: Testing',
|
||
|
+ ]
|
||
|
+)
|