Spaces:
Sleeping
Sleeping
File size: 915 Bytes
cefcefa |
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 |
from setuptools import setup, find_packages
with open('./requirements.txt') as f:
requirements = f.read().splitlines()
for i, req in enumerate(requirements):
if req.startswith('git+'):
package_name = req.split('/')[-1].split('.')[0] # Extract package name from URL
requirements[i] = f"{package_name} @ {req}"
setup(
name='waifu-scorer',
version='0.1',
packages=find_packages(),
include_package_data=True,
description='Image caption tools',
long_description='',
author='euge',
author_email='1507064225@qq.com',
url='https://github.com/Eugeoter/waifu-scorer',
install_requires=requirements,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
)
|