-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
33 lines (29 loc) · 929 Bytes
/
setup.py
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
import os
import re
from setuptools import setup, find_packages
with open(os.path.join('src', 'braceexpand', '__init__.py')) as f:
version = re.findall(r"^__version__ = '(.*)'", f.read(), re.M)[0]
with open('README.rst') as f:
README = f.read()
setup(
name='braceexpand',
version=version,
author='Stanis Trendelenburg',
author_email='[email protected]',
url='https://github.com/trendels/braceexpand',
license='MIT',
description='Bash-style brace expansion for Python',
long_description=README,
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
install_requires=[
'typing;python_version<"3.5"'
],
)