-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (48 loc) · 1.78 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (48 loc) · 1.78 KB
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
49
50
51
import setuptools
import os
from head_breaker import version
with open("README.md", "r", encoding = 'utf-8') as fh:
long_description = fh.read()
def find_packages(*tops):
packages = []
for d in tops:
for root, dirs, files in os.walk(d, followlinks=True):
if '__init__.py' in files:
packages.append(root)
return packages
setuptools.setup(
name = "h-breaker",
version = version.__version__,
description = version.__descriptrion__,
author = "NiceLee",
author_email = "lijia0732@sina.com",
license = "MIT",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/ButterAndButterfly/H-breaker",
zip_safe = True,
packages = find_packages('head_breaker'),
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
entry_points={
"console_scripts": ["h-breaker=head_breaker.main:main"]
},
)