#37 Change in setup
Merged 4 years ago by lenkaseg. Opened 4 years ago by lenkaseg.

file modified
+1
@@ -5,5 +5,6 @@ 

  *.pyo

  *.swp

  *.egg-info

+ *.eggs/

  *.conf

  __pycache__

file added
+2
@@ -0,0 +1,2 @@ 

+ include README.md

+ include LICENSE

file modified
+1 -1
@@ -26,7 +26,7 @@ 

      try:

          api_token = ctx.obj['api_token']

      except KeyError:

-         raise click.UsageError('Missing required API token to create a PR')

+         raise click.UsageError('Missing required API token to create a PR. Type: cranc config')

      project = ctx.obj['project']

      instance_url = ctx.obj['instance_url']

      repo_to = utils.get_dict_from_str(repo_to)

file removed
-9
@@ -1,9 +0,0 @@ 

- # Used for when working from a virtualenv.

- # Use this file by running "$ pip install -r requirements.txt"

- black

- click

- git-url-parse

- -e git+https://pagure.io/libpagure.git#egg=libpagure

- pbr

- pytest

- requests

file modified
+16 -9
@@ -1,17 +1,24 @@ 

  [metadata]

  name = cranc

- version = 1.0.1

- summary = command line interface tool for Pagure pull requests

- description-file = README.rst

+ version = 1.1.0

+ description = command line interface tool for Pagure pull requests

+ long_description = file: README.rst

  license_file = LICENSE

  author = Lenka Segura

- author-email = lenka@sepu.cz

- home-page = https://pagure.io/cranc

+ author_email = lenka@sepu.cz

+ url = https://pagure.io/cranc

  

- [files]

- packages=

-     cranc

+ [options]

+ install_requires =

+     click

+     git-url-parse

+     libpagure

+     requests

+ tests_require =

+     black

+     pytest

+ packages = find:

  

- [entry_points]

+ [options.entry_points]

  console_scripts =

      cranc = cranc.cranc:cranc

file modified
+1 -4
@@ -3,7 +3,4 @@ 

  

  from setuptools import setup

  

- setup(

-         setup_requires=['pbr'],

-         pbr=True,

- )

+ setup()