|
1 | 1 | from distutils.core import setup
|
| 2 | +import sys |
| 3 | + |
| 4 | +if sys.version_info[0] < 3: |
| 5 | + with open('README.md') as f: |
| 6 | + long_description = f.read() |
| 7 | +else: |
| 8 | + with open('README.md', encoding='utf-8') as f: |
| 9 | + long_description = f.read() |
2 | 10 |
|
3 | 11 | setup(name='FireflyAlgorithm',
|
4 | 12 | description='Firefly algorithm implementation',
|
| 13 | + long_description=long_description, |
| 14 | + long_description_content_type="text/markdown", |
5 | 15 | author='firefly-cpp',
|
6 |
| - version='0.0.1', |
| 16 | + version='0.0.2', |
7 | 17 | license='MIT',
|
8 | 18 | classifiers=[
|
9 |
| - 'Development Status :: 5 - Production/Stable', |
10 |
| - 'Intended Audience :: Developers', |
11 |
| - 'Intended Audience :: Science/Research', |
12 |
| - 'Operating System :: OS Independent', |
13 |
| - 'Topic :: Scientific/Engineering', |
14 |
| - 'Topic :: Software Development' |
| 19 | + 'Development Status :: 5 - Production/Stable', |
| 20 | + 'Intended Audience :: Developers', |
| 21 | + 'Intended Audience :: Science/Research', |
| 22 | + 'Operating System :: OS Independent', |
| 23 | + 'Topic :: Scientific/Engineering', |
| 24 | + 'Topic :: Software Development', |
| 25 | + 'Programming Language :: Python :: 3', |
| 26 | + 'Programming Language :: Python :: 3.6', |
| 27 | + 'Programming Language :: Python :: 3.7', |
| 28 | + 'Programming Language :: Python :: 3.8', |
| 29 | + 'Programming Language :: Python :: 3.9', |
| 30 | + 'Programming Language :: Python :: 3.10' |
15 | 31 | ],
|
16 | 32 | url='https://github.com/firefly-cpp/FireflyAlgorithm',
|
17 | 33 | py_modules=['FireflyAlgorithm']
|
18 |
| - ) |
19 |
| - |
| 34 | + ) |
0 commit comments