-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (31 loc) · 1002 Bytes
/
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
#!/usr/bin/python3.7
# -*- coding: utf-8 -*-
# @Time : 2019/5/9 11:50
# @Author: [email protected]
from setuptools import setup, find_packages
from pyunit_weather import __version__, __author__, __description__, __email__, __names__, __url__
with open('README.md', encoding='utf-8') as f:
long_text = f.read()
with open('requirements.txt', encoding='utf-8') as f:
install_requires = f.read().strip().splitlines()
setup(
name=__names__.lower(),
version=__version__,
description=__description__,
long_description=long_text,
long_description_content_type="text/markdown",
url=__url__,
author=__author__,
author_email=__email__,
license='MIT Licence',
packages=find_packages(),
platforms='any',
package_data={'': ['*']},
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
zip_safe=False,
)