1 from setuptools
import setup
2 from codecs
import open # For a consistent encoding
7 here
= path
.dirname(__file__
)
10 with
open(path
.join(here
, 'README.md'), encoding
='utf-8') as f
:
11 long_description
= f
.read()
14 def read(*names
, **kwargs
):
16 path
.join(here
, *names
),
17 encoding
=kwargs
.get("encoding", "utf8")
22 def find_version(*file_paths
):
23 version_file
= read(*file_paths
)
24 version_match
= re
.search(r
"^__version__ = ['\"]([^
'\"]*)['\"]",
27 return version_match.group(1)
28 raise RuntimeError("Unable to find version string
.")
34 version=find_version('dotbot', '__init__.py'),
36 description='A tool that bootstraps your dotfiles',
37 long_description=long_description,
38 long_description_content_type='text/markdown',
40 url='https://github.com/anishathalye/dotbot',
42 author='Anish Athalye',
43 author_email='me@anishathalye.com',
48 'Development Status :: 5 - Production/Stable',
50 'Intended Audience :: Developers',
52 'License :: OSI Approved :: MIT License',
54 'Programming Language :: Python :: 2',
55 'Programming Language :: Python :: 2.7',
56 'Programming Language :: Python :: 3',
57 'Programming Language :: Python :: 3.2',
58 'Programming Language :: Python :: 3.3',
59 'Programming Language :: Python :: 3.4',
60 'Programming Language :: Python :: 3.5',
61 'Programming Language :: Python :: 3.6',
79 # To provide executable scripts, use entry points in preference to the
80 # "scripts
" keyword. Entry points provide cross-platform support and allow
81 # pip to create the appropriate form of executable for the target platform.