|
1 | | -from datetime import datetime |
| 1 | +import sys |
| 2 | +sys.path.append('.') |
2 | 3 |
|
| 4 | +from datetime import datetime |
3 | 5 |
|
4 | | -project = 'Random Profile Generator' |
5 | | -description = 'A random profile generator for testing purposes.' |
6 | | -author = 'Deeapk Raj' |
7 | | -release = '1.0.1' |
| 6 | +__title__ = 'RandomProfileGenerator' |
| 7 | +__package_name__ = 'random_profile' |
| 8 | +__version__ = '3.0.2' |
| 9 | +__description__ = "Python Module To Generate Random Profile Data" |
| 10 | + |
| 11 | +__author__ = 'Deepak Raj' |
| 12 | +__github__ = 'https://github.com/Py-Contributors/RandomProfileGenerator' |
| 13 | +__pypi__ = 'https://pypi.org/project/random-profile/' |
| 14 | +__license__ = 'MIT License' |
| 15 | + |
| 16 | +project = __package_name__ |
| 17 | +description = __description__ |
| 18 | +author = __author__ |
| 19 | +release = __version__ |
8 | 20 | year = datetime.now().year |
9 | 21 | copyright = "{} Deepak Raj".format(year) |
10 | 22 | source_suffix = ".rst" |
|
21 | 33 |
|
22 | 34 | autosectionlabel_prefix_document = True |
23 | 35 |
|
24 | | -html_theme = 'sphinx_rtd_theme' # 'pydata_sphinx_theme' 'alabaster' |
| 36 | +html_theme = 'sphinx_rtd_theme' |
25 | 37 |
|
26 | 38 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv'] |
27 | 39 | html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']} |
28 | 40 |
|
29 | | -rst_epilog = """ |
30 | | -.. |project| replace:: Random Profile Generator |
31 | | -.. |copyright| replace:: Copyright © {} Deepak Raj |
32 | | -.. | community | replace:: `Py-Contributors <https://github.com/py-contributors/>`_ |
33 | | -""".format(year) |
34 | | - |
35 | 41 | # epub settings |
36 | 42 | epub_basename = project |
37 | 43 | epub_theme = 'epub' |
|
0 commit comments