summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py14
1 files changed, 3 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index 9c60ef7..1b295d5 100644
--- a/setup.py
+++ b/setup.py
@@ -1,21 +1,13 @@
-import re
-import ast
+# -*- coding: utf-8 -*-
from setuptools import setup
-
-
-_version_re = re.compile(r'__version__\s+=\s+(.*)')
-
-
-with open('dotfiles/core.py', 'rb') as f:
- version = str(ast.literal_eval(_version_re.search(
- f.read().decode('utf-8')).group(1)))
+from dotfiles import __version__
setup(
name='dotfiles',
+ version=__version__,
author='Jon Bernard',
author_email='jbernard@tuxion.com',
- version=version,
url='https://github.com/jbernard/dotfiles',
packages=['dotfiles'],
description='Easily manage your dotfiles',