mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-03 18:50:53 +01:00 
			
		
		
		
	remove setup.py
This commit is contained in:
		@@ -5,7 +5,7 @@ COPY requirements.txt ./
 | 
			
		||||
RUN pip install --no-cache-dir -r requirements.txt
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
RUN python setup.py install
 | 
			
		||||
RUN pip install .
 | 
			
		||||
 | 
			
		||||
WORKDIR /output
 | 
			
		||||
ENTRYPOINT ["nhentai"]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,3 @@
 | 
			
		||||
__version__ = '0.5.17.1'
 | 
			
		||||
__version__ = '0.5.17.2'
 | 
			
		||||
__author__ = 'RicterZ'
 | 
			
		||||
__email__ = 'ricterzheng@gmail.com'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
[tool.poetry]
 | 
			
		||||
name = "nhentai"
 | 
			
		||||
version = "0.5.17"
 | 
			
		||||
version = "0.5.17.2"
 | 
			
		||||
description = "nhentai doujinshi downloader"
 | 
			
		||||
authors = ["Ricter Z <ricterzheng@gmail.com>"]
 | 
			
		||||
license = "MIT"
 | 
			
		||||
@@ -20,3 +20,6 @@ httpx = "0.27.2"
 | 
			
		||||
[build-system]
 | 
			
		||||
requires = ["poetry-core"]
 | 
			
		||||
build-backend = "poetry.core.masonry.api"
 | 
			
		||||
 | 
			
		||||
[tool.poetry.scripts]
 | 
			
		||||
nhentai = 'nhentai.command:main'
 | 
			
		||||
							
								
								
									
										38
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								setup.py
									
									
									
									
									
								
							@@ -1,38 +0,0 @@
 | 
			
		||||
# coding: utf-8
 | 
			
		||||
import codecs
 | 
			
		||||
from setuptools import setup, find_packages
 | 
			
		||||
from nhentai import __version__, __author__, __email__
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
with open('requirements.txt') as f:
 | 
			
		||||
    requirements = [l for l in f.read().splitlines() if l]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def long_description():
 | 
			
		||||
    with codecs.open('README.rst', 'rb') as readme:
 | 
			
		||||
        return readme.read().decode('utf-8')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
setup(
 | 
			
		||||
    name='nhentai',
 | 
			
		||||
    version=__version__,
 | 
			
		||||
    packages=find_packages(),
 | 
			
		||||
 | 
			
		||||
    author=__author__,
 | 
			
		||||
    author_email=__email__,
 | 
			
		||||
    keywords=['nhentai', 'doujinshi', 'downloader'],
 | 
			
		||||
    description='nhentai.net doujinshis downloader',
 | 
			
		||||
    long_description=long_description(),
 | 
			
		||||
    url='https://github.com/RicterZ/nhentai',
 | 
			
		||||
    download_url='https://github.com/RicterZ/nhentai/tarball/master',
 | 
			
		||||
    include_package_data=True,
 | 
			
		||||
    zip_safe=False,
 | 
			
		||||
 | 
			
		||||
    install_requires=requirements,
 | 
			
		||||
    entry_points={
 | 
			
		||||
        'console_scripts': [
 | 
			
		||||
            'nhentai = nhentai.command:main',
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    license='MIT',
 | 
			
		||||
)
 | 
			
		||||
		Reference in New Issue
	
	Block a user