-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (44 loc) · 1.36 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
38
39
40
41
42
43
44
45
46
47
48
import os
import re
from setuptools import find_packages
from setuptools import setup
import io, shutil
from distutils.extension import Extension
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'scc', '__init__.py'), 'r') as f:
init_py = f.read()
version = re.search('__version__ = "(.*)"', init_py).groups()[0]
with io.open(os.path.join(here, 'README.md'), 'r', encoding='utf-8') as f:
README = f.read()
setup(
name="scc",
version=version,
description="cmdline tool for cython-compiling a python script",
long_description=README,
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"License :: MIT",
"Environment :: Console",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
install_requires=[
'cython',],
keywords="code encryption",
author="David Leon (Dawei Leng)",
author_email="[email protected]",
license="MIT",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
# install_requires=install_requires,
# extras_require={
# 'testing': tests_require,
# },
entry_points={
'console_scripts': [
'scc = scc.__main__:main',
],},
)