python-dependency-injector/setup.py

74 lines
2.4 KiB
Python
Raw Normal View History

2015-01-04 16:54:25 +03:00
"""
`Objects` setup script.
"""
from setuptools import setup
2015-04-03 01:01:05 +03:00
DESCRIPTION = 'Dependency management tool for Python projects'
2015-01-04 16:54:25 +03:00
# Getting description.
2015-04-03 00:31:26 +03:00
with open('README.rst') as readme_file:
description = readme_file.read()
2015-01-05 12:11:21 +03:00
2015-04-03 01:01:05 +03:00
# Removing duplicated description
description = description.replace(DESCRIPTION, '')
2015-01-04 16:54:25 +03:00
# Getting requirements.
with open('requirements.txt') as version:
requirements = version.readlines()
# Getting version.
with open('VERSION') as version:
version = version.read().strip()
2015-01-11 16:03:45 +03:00
if __name__ == '__main__':
setup(
name='Objects',
version=version,
2015-03-30 00:46:48 +03:00
description='Dependency management tool for Python projects',
2015-01-11 16:03:45 +03:00
long_description=description,
author='Roman Mogilatov',
2015-01-11 16:03:45 +03:00
author_email='rmogilatov@gmail.com',
maintainer='Roman Mogilatov',
2015-01-11 16:03:45 +03:00
maintainer_email='rmogilatov@gmail.com',
url='https://github.com/rmk135/objects',
2015-01-11 16:03:45 +03:00
license='BSD New',
packages=['objects'],
zip_safe=True,
install_requires=requirements,
2015-03-30 00:46:48 +03:00
keywords=['Dependency management',
'Dependency injection',
'Dependency injection container',
'DI',
'DIC',
'Dependency injector',
'Inversion of Control',
'Inversion of Control container',
'IoC',
'IoC container'],
2015-01-11 16:03:45 +03:00
classifiers=[
2015-03-23 17:30:00 +03:00
'Development Status :: 3 - Alpha',
2015-01-11 16:03:45 +03:00
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
2015-01-11 16:03:45 +03:00
'Programming Language :: Python :: Implementation :: CPython',
2015-03-26 18:27:36 +03:00
'Programming Language :: Python :: Implementation :: PyPy',
2015-01-11 16:03:45 +03:00
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)