2020-03-07 00:24:54 -06:00
|
|
|
"""Setuptools configuration."""
|
|
|
|
import os
|
2020-06-19 19:54:01 -05:00
|
|
|
|
2020-03-07 00:24:54 -06:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
import versioneer
|
|
|
|
|
|
|
|
HERE = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
|
|
|
|
|
|
|
|
def extract_requires():
|
2020-05-28 17:00:58 -05:00
|
|
|
"""Get pinned requirements from requirements.txt."""
|
|
|
|
with open(os.path.join(HERE, 'requirements/requirements.txt'), 'r') as reqs:
|
2020-03-07 00:24:54 -06:00
|
|
|
return [line.split(' ')[0] for line in reqs if not line[0] in ('-', '#')]
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='incorporeal-cms',
|
2020-03-07 19:37:02 -06:00
|
|
|
description='Flask project for running https://suou.net (and eventually others).',
|
2020-03-07 00:24:54 -06:00
|
|
|
url='https://git.incorporeal.org/bss/incorporeal-cms',
|
|
|
|
license='GPL3',
|
|
|
|
author='Brian S. Stephan',
|
|
|
|
author_email='bss@incorporeal.org',
|
|
|
|
version=versioneer.get_version(),
|
|
|
|
cmdclass=versioneer.get_cmdclass(),
|
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
install_requires=extract_requires(),
|
|
|
|
)
|