Skip to content

Commit

Permalink
fix: setup file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lpmatos committed Jul 27, 2020
1 parent 98f6ac4 commit 229df6a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
8 changes: 1 addition & 7 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.rst
include README.md LICENSE AUTHORS.rst

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
2 changes: 1 addition & 1 deletion cloner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = "0.0.4"
__version__ = ".".join(map(str, (0, 0, 5)))
45 changes: 35 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,52 @@
# -*- coding: utf-8 -*-

import io
import os
from cloner import __version__
from setuptools import setup, find_packages

requirements = [
# Package meta-data.
NAME = "gitlab-cr"
DESCRIPTION = "CLI to help you clone projects inside groups in Gitlab"
URL = "https://github.com/lpmatos/gitlab-clone-recursive"
EMAIL = "luccapsm@gmail.com"
AUTHOR = "Lucca Pessoa da Silva Matos"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = __version__

# What packages are required for this module to be executed?
REQUIRED = [
"python-gitlab"
]

here = os.path.abspath(os.path.dirname(__file__))

# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
with io.open(os.path.join(here, "README.md"), encoding="utf-8") as file:
LONG_DESCRIPTION = "\n" + file.read()
except FileNotFoundError:
LONG_DESCRIPTION = DESCRIPTION

setup(
author = "Lucca Pessoa da Silva Matos",
author_email = "luccapsm@gmail.com",
description = "Gitlab tool for recursive clone",
install_requires = requirements,
license = "MIT license",
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
long_description_content_type = "text/markdown",
author = AUTHOR,
author_email = EMAIL,
python_requires = REQUIRES_PYTHON,
url=URL,
packages = find_packages(include=["cloner"], exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
install_requires = REQUIRED,
include_package_data = True,
license = "MIT license",
keywords = [
"gitlab",
"gitlab-api",
],
name = "gitlab-cr",
packages = find_packages(include=["cloner"]),
url = "https://github.com/lpmatos/gitlab-clone-recursive",
version = __version__,
entry_points = {
"console_scripts" : [
"gitlab-cr=cloner.cli:main",
Expand Down

0 comments on commit 229df6a

Please sign in to comment.