mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 21:29:43 +00:00
56 lines
1.6 KiB
Python
56 lines
1.6 KiB
Python
from setuptools import setup, find_packages
|
|
from codecs import open
|
|
from os import path
|
|
from dotdrop.version import __version__ as VERSION
|
|
|
|
readme = 'README.md'
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
try:
|
|
from pypandoc import convert_file
|
|
read_readme = lambda f: convert_file(f, 'rst')
|
|
except ImportError:
|
|
print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme))
|
|
read_readme = lambda f: open(f, 'r').read()
|
|
|
|
REQUIRES_PYTHON = '>=3'
|
|
|
|
setup(
|
|
name='dotdrop',
|
|
version=VERSION,
|
|
|
|
description='Save your dotfiles once, deploy them everywhere',
|
|
long_description=read_readme(readme),
|
|
url='https://github.com/deadc0de6/dotdrop',
|
|
download_url = 'https://github.com/deadc0de6/dotdrop/archive/v'+VERSION+'.tar.gz',
|
|
|
|
author='deadc0de6',
|
|
author_email='deadc0de6@foo.bar',
|
|
|
|
license='GPLv3',
|
|
python_requires=REQUIRES_PYTHON,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
],
|
|
|
|
keywords='dotfiles jinja2',
|
|
packages=find_packages(exclude=['tests*']),
|
|
install_requires=['docopt', 'Jinja2', 'ruamel.yaml', 'python-magic'],
|
|
|
|
extras_require={
|
|
'dev': ['check-manifest'],
|
|
'test': ['coverage', 'pytest', 'pytest-cov'],
|
|
},
|
|
|
|
entry_points={
|
|
'console_scripts': [
|
|
'dotdrop=dotdrop:main',
|
|
],
|
|
},
|
|
)
|