-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (25 loc) · 808 Bytes
/
Copy pathsetup.py
File metadata and controls
27 lines (25 loc) · 808 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
from pathlib import Path
from setuptools import setup, find_packages, Extension
# from Cython.Build import cythonize
projdir = Path(__file__).parent
readme = (projdir / 'README.md').read_text()
setup(
name='reb',
version='0.1.1.0',
packages=find_packages(exclude=['tests']),
author='ruqishang',
author_email='workingenius@163.com',
url='https://github.com/workingenius/reb',
description='Regular Expression Beautiful',
license='MIT',
extras_require={
'dev': ['pytest', 'mypy', 'cython'],
},
entry_points={
'console_scripts': ['reb=reb.cli:main']
},
long_description=readme,
long_description_content_type='text/markdown',
ext_modules=[Extension('reb.vm.vm2', ['reb/vm/vm2.c'])],
# ext_modules=cythonize(['reb/vm/vm2.pyx', ])
)