-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (37 loc) · 1.01 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
from setuptools import setup, find_packages
package = {
"name": "color-convert",
"version": "1.0",
"description": "Color Conversion",
"keywords": [
"color",
"color-convert",
"convert"
],
"homepage": "https://github.com/zhenzi0322/color-convert",
"author": {
"name": "Yu Zhen",
"email": "[email protected]"
}
}
with open("README.rst", encoding="utf-8") as data:
long_description = data.read()
setup(
name=package['name'],
version=package["version"],
url=package["homepage"],
description=package["description"],
long_description=long_description,
license='MIT License',
author=package["author"]["name"],
author_email=package["author"]["email"],
keywords=package["keywords"],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3.7',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux'
],
zip_safe=False
)