2014-05-18 23:38:59 +03:00
|
|
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
|
|
|
# See LICENSE for details.
|
|
|
|
|
2014-07-31 16:58:03 +03:00
|
|
|
from platform import system
|
2014-06-21 18:20:54 +03:00
|
|
|
|
2014-05-18 23:38:59 +03:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
from platformio import (__author__, __description__, __email__, __license__,
|
|
|
|
__title__, __url__, __version__)
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=__title__,
|
|
|
|
version=__version__,
|
|
|
|
description=__description__,
|
|
|
|
long_description=open("README.rst").read(),
|
|
|
|
author=__author__,
|
|
|
|
author_email=__email__,
|
|
|
|
url=__url__,
|
|
|
|
license=__license__,
|
|
|
|
install_requires=[
|
|
|
|
"click",
|
2014-06-02 20:50:17 +03:00
|
|
|
"pyserial",
|
2014-06-07 13:28:36 +03:00
|
|
|
"requests",
|
2014-06-02 20:50:17 +03:00
|
|
|
# "SCons"
|
2014-07-31 16:58:03 +03:00
|
|
|
] + (["colorama"] if system() == "Windows" else []),
|
2014-05-18 23:38:59 +03:00
|
|
|
packages=find_packages(),
|
2014-12-27 23:59:20 +02:00
|
|
|
package_data={"platformio": ["projectconftpl.ini", "boards/*.json"]},
|
2014-05-18 23:38:59 +03:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"platformio = platformio.__main__:main"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
classifiers=[
|
2014-06-14 16:01:32 +03:00
|
|
|
"Development Status :: 4 - Beta",
|
2014-05-18 23:38:59 +03:00
|
|
|
"Environment :: Console",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: C",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
"Topic :: Software Development :: Build Tools",
|
|
|
|
"Topic :: Software Development :: Compilers"
|
|
|
|
]
|
|
|
|
)
|