1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-PyDriller

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
setup.py 2.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gremat Отправлено 07.11.2022 13:55 622fc72
from os import path
from setuptools import setup, find_packages
with open('requirements.txt') as reqs_file:
requirements = reqs_file.read().splitlines()
with open('test-requirements.txt') as reqs_file:
test_requirements = reqs_file.read().splitlines()
# Get the long description from the relevant file
long_description = 'PyDriller is a Python framework that helps developers on ' \
'mining software repositories. With PyDriller' \
' you can easily extract information from any Git ' \
'repository, such as commits, developers, ' \
'modifications, diffs, and source codes, and ' \
'quickly export CSV files.'
def get_version():
with open(path.join(path.dirname(__file__), 'pydriller', '__init__.py')) as f:
for line in f:
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError("Unable to find version string.")
setup(
name='PyDriller',
description='Framework for MSR',
long_description=long_description,
author='Davide Spadini',
author_email='spadini.davide@gmail.com',
version=get_version(),
packages=find_packages('.', exclude=['tests*']),
url='https://github.com/ishepard/pydriller',
license='Apache License',
package_dir={'pydriller': 'pydriller'},
python_requires='>=3.5',
install_requires=requirements,
tests_require=requirements + test_requirements,
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
]
)

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-PyDriller.git
git@api.gitlife.ru:oschina-mirror/mirrors-PyDriller.git
oschina-mirror
mirrors-PyDriller
mirrors-PyDriller
master