-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathsetup.py
42 lines (35 loc) · 1.04 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
# -*- coding: utf-8 -*-
"""
Created on 2020/4/22 10:45 PM
---------
@summary:
---------
@author: Boris
@email: [email protected]
"""
from os.path import dirname, join
from sys import version_info
import setuptools
if version_info < (3, 0, 0):
raise SystemExit("Sorry! jmpy requires python 3.0.0 or later.")
with open(join(dirname(__file__), "VERSION"), "rb") as f:
version = f.read().decode("ascii").strip()
with open("README.md", "r") as fh:
long_description = fh.read()
packages = setuptools.find_packages()
setuptools.setup(
name="jmpy3",
version=version,
author="Boris",
license="MIT",
author_email="[email protected]",
description="python代码一键加密",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["Cython==0.29.20"],
entry_points={"console_scripts": ["jmpy = jmpy.cmdline:execute"]},
url="https://github.com/Boris-code/jmpy.git",
packages=packages,
include_package_data=True,
classifiers=["Programming Language :: Python :: 3"],
)