|
| 1 | +#!/usr/bin/env python3 |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | + |
| 4 | +from linux_dev import __version__ |
| 5 | + |
| 6 | +from setuptools import setup |
| 7 | +from setuptools.command.install import install |
| 8 | + |
| 9 | + |
| 10 | +with open("README.md", "r", encoding="utf-8") as fh: |
| 11 | + long_description = fh.read() |
| 12 | + |
| 13 | + |
| 14 | +class CustomInstallCommand(install): |
| 15 | + def run(self): |
| 16 | + install.run(self) |
| 17 | + |
| 18 | + |
| 19 | +setup( |
| 20 | + name="linuxd", |
| 21 | + version=__version__, |
| 22 | + author="Fernando Celmer", |
| 23 | + author_email="email@fernandocelmer.com", |
| 24 | + description="🐧 Dev Linux Profile", |
| 25 | + long_description=long_description, |
| 26 | + long_description_content_type="text/markdown", |
| 27 | + url="https://github.com/linux-profile/linux-dev", |
| 28 | + cmdclass={ |
| 29 | + 'install': CustomInstallCommand, |
| 30 | + }, |
| 31 | + install_requires=[ |
| 32 | + 'linuxp>=1.0.19' |
| 33 | + ], |
| 34 | + classifiers=[ |
| 35 | + 'Development Status :: 4 - Beta', |
| 36 | + "Operating System :: OS Independent", |
| 37 | + "License :: OSI Approved :: MIT License", |
| 38 | + 'Intended Audience :: Developers', |
| 39 | + 'Natural Language :: English', |
| 40 | + "Programming Language :: Python :: 3.6", |
| 41 | + "Programming Language :: Python :: 3.7", |
| 42 | + "Programming Language :: Python :: 3.8", |
| 43 | + "Programming Language :: Python :: 3.9", |
| 44 | + "Programming Language :: Python :: 3.10", |
| 45 | + "Programming Language :: Python :: 3.11", |
| 46 | + ], |
| 47 | + include_package_data=True, |
| 48 | + python_requires=">=3.6", |
| 49 | + zip_safe=True, |
| 50 | + fullname='linuxd', |
| 51 | + entry_points={ |
| 52 | + 'console_scripts': ['linuxd=linux_dev.main:main'], |
| 53 | + }, |
| 54 | +) |
0 commit comments