|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | + |
| 4 | +from setuptools import find_packages, setup |
| 5 | + |
| 6 | + |
| 7 | +NAME = "flowlauncher" |
| 8 | + |
| 9 | +SHORT_DESCRIPTION = __import__(NAME).__short_description__ |
| 10 | +LONG_DESCRIPTION = open("README.md", "r").read() |
| 11 | + |
| 12 | +VERSION = __import__(NAME).__version__ |
| 13 | + |
| 14 | +AUTHOR = "Flow-Launcher" |
| 15 | +AUTHOR_EMAIL = "Zeroto521@gmail.com" |
| 16 | +MAINTAINER = "Zero" |
| 17 | +MAINTAINER_EMAIL = "Zeroto521@gmail.com" |
| 18 | + |
| 19 | +URL = "https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python" |
| 20 | +DOWNLOAD_URL = "https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python/archive/master.zip" |
| 21 | + |
| 22 | +LICENSE = __import__(NAME).__license__ |
| 23 | + |
| 24 | +PLATFORMS = ["Windows"] |
| 25 | +CLASSIFIERS = [ |
| 26 | + "Development Status :: 3 - Alphaa", |
| 27 | + |
| 28 | + "Intended Audience :: Developers", |
| 29 | + |
| 30 | + "License :: OSI Approved :: MIT License", |
| 31 | + |
| 32 | + "Natural Language :: English", |
| 33 | + |
| 34 | + "Operating System :: Microsoft :: Windows", |
| 35 | + "Operating System :: Microsoft :: Windows :: Windows 10", |
| 36 | + |
| 37 | + "Programming Language :: Python", |
| 38 | + "Programming Language :: Python :: 3", |
| 39 | + "Programming Language :: Python :: 3 :: Only", |
| 40 | + "Programming Language :: Python :: 3.6", |
| 41 | + "Programming Language :: Python :: 3.7", |
| 42 | + "Programming Language :: Python :: 3.8", |
| 43 | + |
| 44 | + "Topic :: Software Development", |
| 45 | + "Topic :: Software Development :: Libraries", |
| 46 | + "Topic :: Software Development :: Libraries :: Application Frameworks", |
| 47 | +] |
| 48 | + |
| 49 | +with open("requirements.txt", "r") as f: |
| 50 | + REQUIRES = [package.strip() for package in f.readlines()] |
| 51 | + |
| 52 | + |
| 53 | +setup( |
| 54 | + name=NAME, |
| 55 | + version=VERSION, |
| 56 | + author=AUTHOR, |
| 57 | + author_email=AUTHOR_EMAIL, |
| 58 | + maintainer=MAINTAINER, |
| 59 | + maintainer_email=MAINTAINER_EMAIL, |
| 60 | + url=URL, |
| 61 | + license=LICENSE, |
| 62 | + description=SHORT_DESCRIPTION, |
| 63 | + long_description=LONG_DESCRIPTION, |
| 64 | + long_description_content_type="text/markdown", |
| 65 | + platforms=PLATFORMS, |
| 66 | + packages=find_packages(), |
| 67 | + include_package_data=True, |
| 68 | + download_url=DOWNLOAD_URL, |
| 69 | + requires=REQUIRES, |
| 70 | + classifiers=CLASSIFIERS |
| 71 | +) |
0 commit comments