forked from darkskyapp/translations
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (30 loc) · 1.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""Set up the Pirate Weather library."""
import os
from setuptools import find_packages, setup
__version__ = "0.0.8"
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md")) as f:
README = f.read()
repo_url = "https://github.com/Pirate-Weather/translations"
setup(
name="pirateweather-translations",
version=__version__,
author="Pirate-Weather",
description=("Translate Pirate Weather API summaries into any language"),
license="BSD 2-clause",
keywords="weather API pirateweather translations",
url=repo_url,
download_url=f"{repo_url}/archive/{__version__}.tar.gz",
packages=find_packages(
include=["pirateweather_translations", "pirateweather_translations.*"]
),
py_modules=[
"pirateweather_translations.translation",
"pirateweather_translations.dynamic_loader",
],
include_package_data=True, # Include package data files
package_data={
"pirateweather_translations.lang": ["*.py"], # Include all .py files in lang/
},
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
)