forked from jcarlosroldan/simpler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 996 Bytes
/
setup.py
File metadata and controls
33 lines (28 loc) · 996 Bytes
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
from setuptools import find_packages, setup
from sys import version_info
assert version_info.major == 3, 'Python 3 required'
with open('README.md', 'r', encoding='utf-8') as fp:
long_description = fp.read()
with open('requirements.txt', 'r', encoding='utf-8') as fp:
requirements = fp.read().strip().split()
with open('simpler/_version.py', 'r', encoding='utf-8') as fp:
version = fp.read().split(' = ')[1][1:-1]
setup(
name='simpler',
version=version,
author='Juan C. Roldán',
author_email='juancarlos@sevilla.es',
description='Makes Python simpler.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/juancroldan/simpler',
license='MIT',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)