Question: Here is a part of my code: (**setup.py**)

```
args = {
    'name' : 'ModernGL.PyQt5',
    'version' : Version,
    'description' : ShortDescription,
    'long_description' : LongDescription,
    'url' : 'https://github.com/cprogrammer1994/ModernGL.PyQt5',
    'download_url' : 'https://github.com/cprogrammer1994/ModernGL.PyQt5/releases',
    'author' : 'Szabolcs Dombi',
    'author_email' : 'cprogrammer1994@gmail.com',
    'license' : 'MIT',
    'classifiers' : Classifiers,
    'keywords' : Keywords,
    'packages' : [],
    'ext_modules' : [],
    'platforms' : ['any'],
    'install_requires' : ['ModernGL', 'PyQt5']
}

if target == 'windows':
    args['zip_safe'] = True

setup(**args)

```

If I install manually **PyQt5** the **setup.py** will succeed, otherwise will fail.

Is it possible to add **PyQt5** to the dependency list?

Answer: 
```
    public int reverse(int x) {
        int result = 0;

        StringBuffer sb = new StringBuffer(0);
        sb.append(x);

        result = Integer.parseInt(sb.reverse().toString());

        return result;
    }

```
You can take advantage of Java lambda expression. All you have to do is convert the number to String, use lambda to reverse it and then convert back to int. A little variation of this code can allow the reversal of any number of characters. Here:

```
public static int reversal(int x) {
      String tmp =  String.valueOf( x );
      String result = Pattern.compile(" +").splitAsStream( tmp ).map(word->new StringBuilder(word).reverse())
      .collect(Collectors.joining(" "));
      return Integer.parseInt( result );
}

```