Skip to content

Commit

Permalink
edited setup.py for keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jul 23, 2017
1 parent 7370cfc commit 373b256
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# Get the version number and other params from package.json
with open (path.join (here, 'package.json'), encoding = 'utf-8') as f:
package = json.load (f)

keywords = ' '.join ([item for item in package['keywords'] if (' ' not in item)])
keywords = [('"' + item + '"') for item in package['keywords'] if (' ' not in item)]

setup (

Expand Down Expand Up @@ -53,6 +53,6 @@
'Environment :: Console'
],

keywords = keywords,
keywords = ' '.join (keywords),
packages = find_packages ()
)

0 comments on commit 373b256

Please sign in to comment.