aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 5e68f4e4ed4cf16be530189f93ca7e05da8232bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import io
import re
from setuptools import setup

with io.open("README.md", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("dotfiles/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)

setup(
    name='dotfiles',
    version=version,
    url='https://github.com/jbernard/dotfiles',
    project_urls={
        'Code': 'https://github.com/jbernard/dotfiles',
        'Issues': 'https://github.com/jbernard/dotfiles/issues',
    },
    license='ISC',
    author='Jon Bernard',
    author_email='jbernard@jbernard.io',
    description='Easily manage your dotfiles',
    long_description=readme,
    long_description_content_type='text/markdown',
    packages=["dotfiles"],
    python_requires=">=3.6",
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: ISC License (ISCL)'
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Topic :: Utilities',
    ],
    install_requires=['click'],
    setup_requires=['pytest-runner'],
    tests_require=['pytest', 'pytest-flake8'],
    entry_points={
        'console_scripts': [
            'dotfiles=dotfiles.cli:cli',
        ],
    },
)