-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
37 lines (32 loc) · 1.1 KB
/
setup.py
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
import os
import sys
from setuptools import setup
install_requires = [
'pyperclip', 'asttokens', 'nbconvert', 'nbformat', 'matplotlib',
'ipython', 'pyimgur', 'stdlib-list', 'ipykernel', 'tornado'
]
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md')) as f:
long_description = f.read()
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
setup_requires = ['pytest-runner']
else:
setup_requires = []
setup(
name='reprexpy',
version='0.3.3',
description='Render reproducible examples of Python code (port of R '
'package `reprex`)',
long_description=long_description,
long_description_content_type='text/markdown',
author='Christopher Baker',
author_email='[email protected]',
url='https://reprexpy.readthedocs.io/en/latest',
license='LICENSE.txt',
packages=['reprexpy'],
install_requires=install_requires,
tests_require=['pytest', 'pyzmq', 'pickledb'],
setup_requires=setup_requires,
python_requires='>=3.8',
package_data={'reprexpy': ['examples/*.py']}
)